Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.005258/0.005257, allocations: 99.52 kB / 15.73 MB, free: 6.043 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.001599/0.001599, allocations: 201.8 kB / 16.68 MB, free: 5.961 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7589/0.7589, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 67.89 kB / 0.5808 GB, free: 8.094 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4275/0.4288, allocations: 80.2 MB / 0.6592 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006792/0.4357, allocations: 4.071 MB / 0.6631 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1665/0.6022, allocations: 150.5 MB / 0.8101 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000852/0.6031, allocations: 23.88 kB / 0.8101 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007174/0.6039, allocations: 166.5 kB / 0.8103 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002409/0.6063, allocations: 465.7 kB / 0.8107 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002355/0.6087, allocations: 0.7896 MB / 0.8115 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001553/0.6102, allocations: 1.176 MB / 0.8126 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009318/0.6112, allocations: 0.6066 MB / 0.8132 GB, free: 7.879 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000654/0.6118, allocations: 438.4 kB / 0.8136 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005793/0.6124, allocations: 442 kB / 0.814 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001775/0.6126, allocations: 104 kB / 0.8141 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009062/0.6135, allocations: 467.6 kB / 0.8146 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002689/0.6138, allocations: 279.1 kB / 0.8149 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004885/0.6143, allocations: 493.4 kB / 0.8153 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001784/0.6161, allocations: 1.495 MB / 0.8168 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6161, allocations: 0 / 0.8168 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6161, allocations: 7.938 kB / 0.8168 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.93e-05/0.6162, allocations: 0 / 0.8168 GB, free: 4.191 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002316/0.6185, allocations: 1.311 MB / 0.8181 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.6185, allocations: 8.031 kB / 0.8181 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001561/0.6187, allocations: 127.1 kB / 0.8182 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009197/0.6196, allocations: 179.5 kB / 0.8184 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.6207, allocations: 0.7266 MB / 0.8191 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.27e-05/0.6208, allocations: 61.94 kB / 0.8191 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-05/0.6209, allocations: 79.98 kB / 0.8192 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.6223, allocations: 0.8548 MB / 0.8201 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.6224, allocations: 4 kB / 0.8201 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.53e-05/0.6224, allocations: 32 kB / 0.8201 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.6225, allocations: 20 kB / 0.8201 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/0.6241, allocations: 1.061 MB / 0.8211 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003692/0.6278, allocations: 2.351 MB / 0.8234 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.6291, allocations: 0.7934 MB / 0.8242 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/0.6295, allocations: 278.4 kB / 0.8245 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.372e-05/0.6296, allocations: 36.52 kB / 0.8245 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007024/0.6303, allocations: 413.8 kB / 0.8249 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 2.504e-06/0.6304, allocations: 0 / 0.8249 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.002823/0.6332, allocations: 1.07 MB / 0.826 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.6333, allocations: 192.5 kB / 0.8261 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007387/0.634, allocations: 0.5822 MB / 0.8267 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.168e-05/0.6341, allocations: 37.7 kB / 0.8267 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/0.6344, allocations: 380.2 kB / 0.8271 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.6346, allocations: 232.6 kB / 0.8273 GB, free: 9.059 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.6348, allocations: 126.3 kB / 0.8275 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.635, allocations: 378.8 kB / 0.8278 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/0.6354, allocations: 213.2 kB / 0.828 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004955/0.6359, allocations: 310.8 kB / 0.8283 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008857/0.6368, allocations: 0.5273 MB / 0.8288 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.6368, allocations: 3.938 kB / 0.8288 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001716/0.6385, allocations: 0.7197 MB / 0.8295 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.6385, allocations: 4 kB / 0.8295 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.6386, allocations: 0 / 0.8295 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000631/0.6392, allocations: 76.88 kB / 0.8296 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005308/0.6397, allocations: 139.9 kB / 0.8297 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/0.6419, allocations: 1.638 MB / 0.8313 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005684/0.6425, allocations: 78 kB / 0.8314 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.383e-05/0.6426, allocations: 35.98 kB / 0.8315 GB, free: 4.633 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004223/0.643, allocations: 257 kB / 0.8317 GB, free: 4.375 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.6432, allocations: 75 kB / 0.8318 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002222/0.6455, allocations: 0.9626 MB / 0.8327 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.6455, allocations: 8 kB / 0.8327 GB, free: 3.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.6455, allocations: 0 / 0.8327 GB, free: 3.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.6455, allocations: 3.984 kB / 0.8327 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00328/0.6488, allocations: 1.841 MB / 0.8345 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.6488, allocations: 3.938 kB / 0.8345 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005289/0.6494, allocations: 139.8 kB / 0.8347 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004498/0.6498, allocations: 64.8 kB / 0.8347 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-05/0.6499, allocations: 23.98 kB / 0.8347 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001877/0.6518, allocations: 1.67 MB / 0.8364 GB, free: 15.37 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.6518, allocations: 3.984 kB / 0.8364 GB, free: 15.37 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.6536, allocations: 0.8991 MB / 0.8373 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003775/0.654, allocations: 259.8 kB / 0.8375 GB, free: 14.17 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.6541, allocations: 20 kB / 0.8375 GB, free: 14.15 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005739/0.6547, allocations: 47.95 kB / 0.8376 GB, free: 14.11 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.6548, allocations: 60.91 kB / 0.8376 GB, free: 14.05 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.768e-05/0.6549, allocations: 27.98 kB / 0.8376 GB, free: 14.02 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000594/0.6555, allocations: 427.1 kB / 0.8381 GB, free: 13.61 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6555, allocations: 0 / 0.8381 GB, free: 13.61 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008833/0.6564, allocations: 283.2 kB / 0.8383 GB, free: 13.33 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003298/0.6597, allocations: 1.944 MB / 0.8402 GB, free: 11.57 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001575/0.6613, allocations: 0.7084 MB / 0.8409 GB, free: 10.85 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6613, allocations: 0 / 0.8409 GB, free: 10.85 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008718/0.6622, allocations: 488.2 kB / 0.8414 GB, free: 10.36 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.6634, allocations: 281.2 kB / 0.8417 GB, free: 10.11 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.6741, allocations: 5.816 MB / 0.8473 GB, free: 4.199 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.6747, allocations: 0.992 MB / 0.8483 GB, free: 3.184 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007321/0.6754, allocations: 246 kB / 0.8485 GB, free: 2.941 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004713/0.6759, allocations: 347.2 kB / 0.8489 GB, free: 2.602 MB / 0.67 GB Notification: Performance of SimCode: time 7.11e-07/0.6759, allocations: 0 / 0.8489 GB, free: 2.602 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.41/1.086, allocations: 20 MB / 0.8684 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/13.02, allocations: 8.406 kB / 0.8684 GB, free: 193.6 MB / 0.6856 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)