Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.001702/0.001702, allocations: 173.9 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8404/0.8404, allocations: 133.6 MB / 141.6 MB, free: 2.887 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.731/1.731, allocations: 221.5 MB / 395.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009151/0.000915, allocations: 98.2 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.147e-05/2.164e-05, allocations: 4 kB / 0.5536 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5519/0.5519, allocations: 82.3 MB / 0.6339 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1675/0.7196, allocations: 111.6 MB / 0.7429 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.7199, allocations: 87.89 kB / 0.743 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003103/0.723, allocations: 1.143 MB / 0.7441 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.094e-06/0.723, allocations: 3.938 kB / 0.7441 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.723, allocations: 0 / 0.7441 GB, free: 9.906 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004183/0.7235, allocations: 342.3 kB / 0.7445 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.614e-05/0.7235, allocations: 8.031 kB / 0.7445 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.7236, allocations: 4 kB / 0.7445 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.7238, allocations: 167 kB / 0.7446 GB, free: 9.312 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.7239, allocations: 11.98 kB / 0.7447 GB, free: 9.301 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.7239, allocations: 0 / 0.7447 GB, free: 9.301 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001021/0.724, allocations: 23.98 kB / 0.7447 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.7241, allocations: 49.62 kB / 0.7447 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.7241, allocations: 0 / 0.7447 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.7242, allocations: 0 / 0.7447 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.7242, allocations: 4 kB / 0.7447 GB, free: 9.219 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.7247, allocations: 265.3 kB / 0.745 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.7249, allocations: 58.67 kB / 0.745 GB, free: 8.855 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.958e-05/0.725, allocations: 16.98 kB / 0.7451 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.725, allocations: 4 kB / 0.7451 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.7251, allocations: 30.56 kB / 0.7451 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.7251, allocations: 0 / 0.7451 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.0002018/0.7253, allocations: 57.69 kB / 0.7451 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.7253, allocations: 51.41 kB / 0.7452 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.7254, allocations: 96.98 kB / 0.7453 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.7255, allocations: 25.7 kB / 0.7453 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.22e-05/0.7255, allocations: 91.98 kB / 0.7454 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.7256, allocations: 15.81 kB / 0.7454 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.7256, allocations: 0 / 0.7454 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.7257, allocations: 318.8 kB / 0.7457 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.669e-05/0.7258, allocations: 16 kB / 0.7457 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.008e-05/0.7258, allocations: 11.94 kB / 0.7457 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.709e-05/0.7258, allocations: 7.938 kB / 0.7457 GB, free: 8.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.7259, allocations: 0 / 0.7457 GB, free: 8.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.848e-05/0.7259, allocations: 53.69 kB / 0.7458 GB, free: 8.012 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.726, allocations: 9.875 kB / 0.7458 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.726, allocations: 0 / 0.7458 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.726, allocations: 0 / 0.7458 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.956e-05/0.7261, allocations: 11.98 kB / 0.7458 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.7261, allocations: 0 / 0.7458 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.075e-05/0.7261, allocations: 4.25 kB / 0.7458 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.7261, allocations: 3.938 kB / 0.7458 GB, free: 7.984 MB / 0.5261 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 (5): * Single equations (assignments): 5 * 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 0.0001221/0.7263, allocations: 104.9 kB / 0.7459 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.664e-05/0.7264, allocations: 69.53 kB / 0.746 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.7264, allocations: 0 / 0.746 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/0.7266, allocations: 73.86 kB / 0.7461 GB, free: 7.727 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.7266, allocations: 3.984 kB / 0.7461 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.7266, allocations: 0 / 0.7461 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.7266, allocations: 4 kB / 0.7461 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.7268, allocations: 158 kB / 0.7462 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.7268, allocations: 3.984 kB / 0.7462 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.264e-05/0.7269, allocations: 15.94 kB / 0.7462 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.7269, allocations: 0 / 0.7462 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.7269, allocations: 0 / 0.7462 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.7269, allocations: 0 / 0.7462 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.7269, allocations: 0 / 0.7462 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.7271, allocations: 167.5 kB / 0.7464 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.7271, allocations: 85.09 kB / 0.7465 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.7271, allocations: 192 / 0.7465 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.46e-05/0.7272, allocations: 0 / 0.7465 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.7272, allocations: 11.98 kB / 0.7465 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.7272, allocations: 0 / 0.7465 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.093e-05/0.7273, allocations: 83.27 kB / 0.7466 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7273, allocations: 0 / 0.7466 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002083/0.7275, allocations: 11.91 kB / 0.7466 GB, free: 7.121 MB / 0.5261 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 (8): * Single equations (assignments): 8 * 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.0004989/0.728, allocations: 0.6968 MB / 0.7473 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001131/0.7282, allocations: 31.98 kB / 0.7473 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.7282, allocations: 0 / 0.7473 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.689e-05/0.7282, allocations: 36.09 kB / 0.7473 GB, free: 6.328 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.7284, allocations: 4.141 kB / 0.7473 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.7288, allocations: 113.6 kB / 0.7474 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.7291, allocations: 0.6938 MB / 0.7481 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.71e-05/0.7292, allocations: 0 / 0.7481 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.445e-05/0.7292, allocations: 19.42 kB / 0.7481 GB, free: 5.438 MB / 0.5261 GB Notification: Performance of SimCode: time 2.41e-07/0.7292, allocations: 0 / 0.7481 GB, free: 5.438 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.7506, allocations: 0.8848 MB / 0.749 GB, free: 4.562 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/0.7509, allocations: 147 kB / 0.7491 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/2.37, allocations: 0 / 0.7491 GB, free: 4.375 MB / 0.5261 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)