Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00623/0.00623, allocations: 100.9 kB / 15.73 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 194.1 kB / 16.68 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9801/0.9801, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 67.89 kB / 0.5851 GB, free: 3.871 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4176, allocations: 80.91 MB / 0.6642 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002136/0.4197, allocations: 1.423 MB / 0.6656 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004782/0.4202, allocations: 365.5 kB / 0.6659 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.175e-05/0.4203, allocations: 0 / 0.6659 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.534e-05/0.4203, allocations: 3.938 kB / 0.6659 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.008e-05/0.4204, allocations: 5.281 kB / 0.6659 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.386e-05/0.4204, allocations: 4 kB / 0.6659 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.284e-05/0.4205, allocations: 20.14 kB / 0.6659 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.119e-05/0.4206, allocations: 2.656 kB / 0.6659 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.4207, allocations: 20.59 kB / 0.666 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.037e-05/0.4208, allocations: 6.25 kB / 0.666 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.4208, allocations: 1.688 kB / 0.666 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.021e-06/0.4208, allocations: 1.469 kB / 0.666 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.4208, allocations: 0 / 0.666 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.4208, allocations: 10.84 kB / 0.666 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.933e-05/0.4209, allocations: 19.73 kB / 0.666 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4209, allocations: 0 / 0.666 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4209, allocations: 0 / 0.666 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.4209, allocations: 0 / 0.666 GB, free: 5.848 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002897/0.4212, allocations: 323.8 kB / 0.6663 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.4213, allocations: 13.2 kB / 0.6663 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.761e-05/0.4213, allocations: 31.91 kB / 0.6663 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.905e-05/0.4213, allocations: 6.281 kB / 0.6664 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.835e-05/0.4214, allocations: 169.6 kB / 0.6665 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.4214, allocations: 9.75 kB / 0.6665 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.4214, allocations: 1.656 kB / 0.6665 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.262e-05/0.4215, allocations: 41.81 kB / 0.6666 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.4215, allocations: 0 / 0.6666 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.4215, allocations: 0 / 0.6666 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4215, allocations: 1.406 kB / 0.6666 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.603e-05/0.4216, allocations: 2.688 kB / 0.6666 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002266/0.4218, allocations: 244.5 kB / 0.6668 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.316e-05/0.4218, allocations: 28.86 kB / 0.6668 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.605e-05/0.4219, allocations: 18.45 kB / 0.6668 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.4219, allocations: 0 / 0.6668 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.4219, allocations: 39.95 kB / 0.6669 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.4219, allocations: 0 / 0.6669 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001204/0.422, allocations: 42.16 kB / 0.6669 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.4221, allocations: 60.59 kB / 0.667 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.444e-05/0.4221, allocations: 99.61 kB / 0.6671 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.991e-06/0.4221, allocations: 25.7 kB / 0.6671 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.272e-05/0.4222, allocations: 84.12 kB / 0.6672 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.4222, allocations: 9.266 kB / 0.6672 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/0.4222, allocations: 16.59 kB / 0.6672 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.152e-05/0.4223, allocations: 314.8 kB / 0.6675 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.095e-05/0.4223, allocations: 2.406 kB / 0.6675 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-06/0.4223, allocations: 9.594 kB / 0.6675 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.065e-05/0.4223, allocations: 11.02 kB / 0.6675 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4223, allocations: 0 / 0.6675 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.678e-05/0.4224, allocations: 45.94 kB / 0.6676 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.4224, allocations: 8.438 kB / 0.6676 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.4224, allocations: 3.938 kB / 0.6676 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.4224, allocations: 0 / 0.6676 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.613e-05/0.4225, allocations: 3.312 kB / 0.6676 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.4225, allocations: 96 / 0.6676 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.549e-05/0.4225, allocations: 5.281 kB / 0.6676 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.4225, allocations: 3.984 kB / 0.6676 GB, free: 4.074 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.045e-05/0.4225, allocations: 118.1 kB / 0.6677 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.4226, allocations: 5.125 kB / 0.6677 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.549e-05/0.4226, allocations: 8.297 kB / 0.6677 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.4226, allocations: 0 / 0.6677 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.4226, allocations: 1.281 kB / 0.6677 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.4226, allocations: 0 / 0.6677 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.4227, allocations: 157.5 kB / 0.6679 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.4227, allocations: 4 kB / 0.6679 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.502e-05/0.4227, allocations: 2.5 kB / 0.6679 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.4227, allocations: 1.438 kB / 0.6679 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.4228, allocations: 0 / 0.6679 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.4228, allocations: 0 / 0.6679 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4228, allocations: 1.562 kB / 0.6679 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.986e-05/0.4228, allocations: 140.8 kB / 0.668 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.574e-05/0.4228, allocations: 81.14 kB / 0.6681 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.348e-06/0.4229, allocations: 1.594 kB / 0.6681 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.201e-05/0.4229, allocations: 0 / 0.6681 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.988e-06/0.4229, allocations: 1.344 kB / 0.6681 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-06/0.4229, allocations: 0 / 0.6681 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.358e-05/0.423, allocations: 87.36 kB / 0.6682 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.423, allocations: 3.938 kB / 0.6682 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002051/0.4232, allocations: 2.188 kB / 0.6682 GB, free: 3.406 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002243/0.4234, allocations: 0.6662 MB / 0.6688 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.907e-05/0.4235, allocations: 18.55 kB / 0.6689 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4235, allocations: 0 / 0.6689 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.506e-06/0.4235, allocations: 3.906 kB / 0.6689 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.4237, allocations: 5.625 kB / 0.6689 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006465/0.4244, allocations: 1.164 MB / 0.67 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.4245, allocations: 0.6764 MB / 0.6707 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.78e-05/0.4245, allocations: 0.875 kB / 0.6707 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.4245, allocations: 8.625 kB / 0.6707 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.4245, allocations: 0 / 0.6707 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.4422, allocations: 1.06 MB / 0.6717 GB, free: 252 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.207/7.649, allocations: 11.5 kB / 0.6717 GB, free: 248 kB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)