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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00252/0.002521, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.14/1.14, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.107/2.107, allocations: 221.3 MB / 400.4 MB, free: 5.863 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 94.23 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.104e-05/5.106e-05, allocations: 4.562 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.276, allocations: 82.3 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.043/1.319, allocations: 111.6 MB / 0.7495 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003951/1.32, allocations: 83.91 kB / 0.7496 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003729/1.323, allocations: 0.7443 MB / 0.7503 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.364e-06/1.323, allocations: 0 / 0.7503 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.306e-05/1.324, allocations: 3.938 kB / 0.7503 GB, free: 27.62 MB / 0.5105 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.0004737/1.324, allocations: 321.5 kB / 0.7506 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.122e-05/1.324, allocations: 7.812 kB / 0.7506 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.479e-05/1.324, allocations: 35.55 kB / 0.7506 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/1.324, allocations: 7.781 kB / 0.7506 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/1.324, allocations: 169.9 kB / 0.7508 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/1.324, allocations: 3.75 kB / 0.7508 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/1.325, allocations: 3.969 kB / 0.7508 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/1.325, allocations: 29.55 kB / 0.7508 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/1.325, allocations: 3.938 kB / 0.7508 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/1.325, allocations: 0 / 0.7508 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/1.325, allocations: 5.891 kB / 0.7508 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.284e-05/1.325, allocations: 8.609 kB / 0.7509 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005013/1.325, allocations: 244.8 kB / 0.7511 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.505e-05/1.325, allocations: 21.73 kB / 0.7511 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.223e-05/1.325, allocations: 19.97 kB / 0.7511 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/1.325, allocations: 0 / 0.7511 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/1.326, allocations: 40.94 kB / 0.7512 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/1.326, allocations: 0 / 0.7512 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002126/1.326, allocations: 33.36 kB / 0.7512 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/1.326, allocations: 54.59 kB / 0.7512 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/1.326, allocations: 95.59 kB / 0.7513 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/1.326, allocations: 25.7 kB / 0.7514 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.946e-05/1.326, allocations: 82.39 kB / 0.7514 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/1.326, allocations: 3.906 kB / 0.7514 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/1.326, allocations: 0 / 0.7514 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001763/1.326, allocations: 326.3 kB / 0.7518 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/1.326, allocations: 0 / 0.7518 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.436e-05/1.326, allocations: 3.906 kB / 0.7518 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.845e-05/1.326, allocations: 10.59 kB / 0.7518 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.326, allocations: 0 / 0.7518 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.879e-05/1.327, allocations: 40.39 kB / 0.7518 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.327, allocations: 3.844 kB / 0.7518 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/1.327, allocations: 0 / 0.7518 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/1.327, allocations: 4.094 kB / 0.7518 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.324e-05/1.327, allocations: 6.094 kB / 0.7518 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/1.327, allocations: 0 / 0.7518 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.477e-05/1.327, allocations: 0 / 0.7518 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/1.327, allocations: 3.75 kB / 0.7518 GB, free: 25.98 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.991e-05/1.327, allocations: 108.2 kB / 0.7519 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/1.327, allocations: 3.906 kB / 0.7519 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/1.327, allocations: 3.125 kB / 0.7519 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/1.327, allocations: 9.875 kB / 0.7519 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.327, allocations: 4 kB / 0.7519 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/1.327, allocations: 0 / 0.7519 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/1.327, allocations: 157.7 kB / 0.7521 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.327, allocations: 0 / 0.7521 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.918e-05/1.327, allocations: 7.906 kB / 0.7521 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/1.327, allocations: 0 / 0.7521 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/1.327, allocations: 0 / 0.7521 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/1.327, allocations: 0 / 0.7521 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.327, allocations: 0 / 0.7521 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/1.328, allocations: 139.4 kB / 0.7522 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/1.328, allocations: 81.08 kB / 0.7523 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/1.328, allocations: 2.672 kB / 0.7523 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/1.328, allocations: 3.688 kB / 0.7523 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.86e-05/1.328, allocations: 0 / 0.7523 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/1.328, allocations: 0 / 0.7523 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.764e-05/1.328, allocations: 79.03 kB / 0.7524 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.6e-07/1.328, allocations: 0 / 0.7524 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003658/1.328, allocations: 3.969 kB / 0.7524 GB, free: 25.35 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007148/1.329, allocations: 0.6762 MB / 0.7531 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001197/1.329, allocations: 11.03 kB / 0.7531 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/1.329, allocations: 0 / 0.7531 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.725e-05/1.329, allocations: 3.844 kB / 0.7531 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/1.329, allocations: 8.094 kB / 0.7531 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005353/1.33, allocations: 95.08 kB / 0.7532 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/1.33, allocations: 0.6779 MB / 0.7538 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.72e-05/1.33, allocations: 0 / 0.7538 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/1.331, allocations: 11.22 kB / 0.7538 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of SimCode: time 4.81e-07/1.331, allocations: 0 / 0.7538 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0195/1.35, allocations: 0.8626 MB / 0.7547 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003003/1.35, allocations: 172.3 kB / 0.7549 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/3.664, allocations: 7.688 kB / 0.7549 GB, free: 23.53 MB / 0.5105 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/linux/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)