Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_dev_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.00144/0.00144, allocations: 174.6 kB / 7.647 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 1.015/1.015, allocations: 133.6 MB / 141.6 MB, free: 2.863 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.795/1.795, allocations: 221.5 MB / 395.4 MB, free: 10.75 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.001039/0.001039, allocations: 94.06 kB / 478.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.386e-05/3.422e-05, allocations: 4 kB / 0.5536 GB, free: 8.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5534/0.5535, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1601/0.7137, allocations: 111.6 MB / 0.7429 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.714, allocations: 83.94 kB / 0.743 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003427/0.7175, allocations: 1.155 MB / 0.7441 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7175, allocations: 8 kB / 0.7442 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.425e-06/0.7175, allocations: 0 / 0.7442 GB, free: 9.766 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.0003617/0.7179, allocations: 330.4 kB / 0.7445 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.718, allocations: 12.03 kB / 0.7445 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.718, allocations: 0 / 0.7445 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.7182, allocations: 178.9 kB / 0.7447 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.7182, allocations: 0 / 0.7447 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.7182, allocations: 4 kB / 0.7447 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.783e-05/0.7183, allocations: 23.94 kB / 0.7447 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.7184, allocations: 53.67 kB / 0.7447 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.7185, allocations: 0 / 0.7447 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.7185, allocations: 0 / 0.7447 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.7185, allocations: 0 / 0.7447 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.7189, allocations: 261.2 kB / 0.745 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.7191, allocations: 58.64 kB / 0.745 GB, free: 8.727 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.364e-05/0.7192, allocations: 24.98 kB / 0.7451 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.7192, allocations: 0 / 0.7451 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.7192, allocations: 30.56 kB / 0.7451 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 7.51e-07/0.7192, allocations: 0 / 0.7451 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.0001734/0.7194, allocations: 57.72 kB / 0.7451 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.7195, allocations: 51.41 kB / 0.7452 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.883e-05/0.7195, allocations: 93 kB / 0.7453 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.7196, allocations: 29.7 kB / 0.7453 GB, free: 8.402 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.346e-05/0.7196, allocations: 99.97 kB / 0.7454 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.7196, allocations: 7.812 kB / 0.7454 GB, free: 8.293 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.7196, allocations: 0 / 0.7454 GB, free: 8.293 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.7198, allocations: 322.8 kB / 0.7457 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.7198, allocations: 4 kB / 0.7457 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.348e-05/0.7198, allocations: 11.98 kB / 0.7457 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.746e-05/0.7199, allocations: 19.94 kB / 0.7458 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7199, allocations: 0 / 0.7458 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.987e-05/0.72, allocations: 53.69 kB / 0.7458 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.72, allocations: 4 kB / 0.7458 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.72, allocations: 0 / 0.7458 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.72, allocations: 3.938 kB / 0.7458 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.275e-05/0.7201, allocations: 15.92 kB / 0.7458 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.7201, allocations: 0 / 0.7458 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.739e-05/0.7201, allocations: 0 / 0.7458 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.7201, allocations: 4.25 kB / 0.7458 GB, free: 7.848 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 8.147e-05/0.7202, allocations: 108.9 kB / 0.7459 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.873e-05/0.7203, allocations: 61.59 kB / 0.746 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.7203, allocations: 4 kB / 0.746 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.7205, allocations: 73.8 kB / 0.7461 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.7205, allocations: 4 kB / 0.7461 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.7205, allocations: 0 / 0.7461 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.7205, allocations: 0 / 0.7461 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.7207, allocations: 158 kB / 0.7462 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.7207, allocations: 0 / 0.7462 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.082e-05/0.7208, allocations: 19.98 kB / 0.7462 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.7208, allocations: 0 / 0.7462 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.7208, allocations: 0 / 0.7462 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.7208, allocations: 4 kB / 0.7462 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7208, allocations: 0 / 0.7462 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.721, allocations: 163.5 kB / 0.7464 GB, free: 7.195 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.721, allocations: 81.3 kB / 0.7465 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.721, allocations: 3.984 kB / 0.7465 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.808e-05/0.7211, allocations: 4 kB / 0.7465 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.7211, allocations: 7.922 kB / 0.7465 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.7211, allocations: 4 kB / 0.7465 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.675e-05/0.7212, allocations: 83.28 kB / 0.7466 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7212, allocations: 0 / 0.7466 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002082/0.7214, allocations: 11.91 kB / 0.7466 GB, free: 6.984 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.0004261/0.7218, allocations: 0.6929 MB / 0.7473 GB, free: 6.262 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.7219, allocations: 35.92 kB / 0.7473 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.722, allocations: 0 / 0.7473 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.841e-05/0.722, allocations: 23.94 kB / 0.7473 GB, free: 6.203 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.7221, allocations: 0 / 0.7473 GB, free: 6.203 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/0.7225, allocations: 121.6 kB / 0.7474 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.7229, allocations: 0.6923 MB / 0.7481 GB, free: 5.328 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.881e-05/0.7229, allocations: 4 kB / 0.7481 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.995e-05/0.723, allocations: 19.42 kB / 0.7481 GB, free: 5.305 MB / 0.5261 GB Notification: Performance of SimCode: time 2.7e-07/0.723, allocations: 0 / 0.7481 GB, free: 5.305 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/0.7436, allocations: 0.8861 MB / 0.749 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.7439, allocations: 155.9 kB / 0.7492 GB, free: 4.238 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/2.396, allocations: 0 / 0.7492 GB, free: 4.238 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)