Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.001065/0.001065, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.232/1.232, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8176/0.8176, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 68.25 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1283, allocations: 80.94 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005929/0.1342, allocations: 4.894 MB / 0.5893 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3627/0.4969, allocations: 150.9 MB / 0.7366 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008883/0.4979, allocations: 18.38 kB / 0.7366 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006974/0.4986, allocations: 192.5 kB / 0.7368 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001841/0.5005, allocations: 0.5846 MB / 0.7374 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001958/0.5024, allocations: 0.8879 MB / 0.7383 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001662/0.5041, allocations: 1.573 MB / 0.7398 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/0.5054, allocations: 1.057 MB / 0.7408 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008648/0.5062, allocations: 0.6815 MB / 0.7415 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009062/0.5072, allocations: 0.7315 MB / 0.7422 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000291/0.5075, allocations: 175 kB / 0.7424 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009379/0.5084, allocations: 0.5057 MB / 0.7429 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003788/0.5088, allocations: 420.4 kB / 0.7433 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007982/0.5096, allocations: 0.7847 MB / 0.744 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002043/0.5116, allocations: 2.129 MB / 0.7461 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5117, allocations: 0 / 0.7461 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5117, allocations: 0 / 0.7461 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.167e-05/0.5117, allocations: 0 / 0.7461 GB, free: 5.441 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002618/0.5143, allocations: 1.789 MB / 0.7479 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.5144, allocations: 8.094 kB / 0.7479 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001926/0.5146, allocations: 216.5 kB / 0.7481 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008682/0.5155, allocations: 235.7 kB / 0.7483 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009752/0.5164, allocations: 0.8842 MB / 0.7492 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.364e-05/0.5165, allocations: 106.5 kB / 0.7493 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.5167, allocations: 139 kB / 0.7494 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.5185, allocations: 1.428 MB / 0.7508 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.5186, allocations: 3.938 kB / 0.7508 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.5187, allocations: 56.06 kB / 0.7509 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/0.5187, allocations: 34.75 kB / 0.7509 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.5208, allocations: 1.518 MB / 0.7524 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004846/0.5257, allocations: 3.763 MB / 0.756 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.5271, allocations: 0.9726 MB / 0.757 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000586/0.5277, allocations: 399.4 kB / 0.7574 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-05/0.5278, allocations: 45.08 kB / 0.7574 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008786/0.5287, allocations: 0.5825 MB / 0.758 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=104): time 2.004e-06/0.5287, allocations: 0 / 0.758 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=104): time 0.003212/0.5319, allocations: 1.477 MB / 0.7594 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/0.532, allocations: 192.9 kB / 0.7596 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007702/0.5328, allocations: 0.7668 MB / 0.7604 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/0.5329, allocations: 41.7 kB / 0.7604 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/0.5332, allocations: 0.5504 MB / 0.7609 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002176/0.5334, allocations: 350.9 kB / 0.7613 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/0.5337, allocations: 198.5 kB / 0.7615 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.5338, allocations: 345.9 kB / 0.7618 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005791/0.5344, allocations: 341.8 kB / 0.7621 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006776/0.535, allocations: 462.5 kB / 0.7626 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.5363, allocations: 0.8078 MB / 0.7634 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.5364, allocations: 0 / 0.7634 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00207/0.5384, allocations: 1.063 MB / 0.7644 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.5385, allocations: 8.094 kB / 0.7644 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.5385, allocations: 4 kB / 0.7644 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005322/0.539, allocations: 88.7 kB / 0.7645 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008244/0.5398, allocations: 214.8 kB / 0.7647 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/0.5416, allocations: 1.643 MB / 0.7663 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006687/0.5423, allocations: 105.6 kB / 0.7664 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.827e-05/0.5423, allocations: 51.89 kB / 0.7664 GB, free: 1.793 MB / 0.5762 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 (117): * Single equations (assignments): 116 * 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.0003776/0.5427, allocations: 313.6 kB / 0.7667 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.5429, allocations: 102.7 kB / 0.7668 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002758/0.5457, allocations: 1.385 MB / 0.7682 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.5457, allocations: 11.94 kB / 0.7682 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.5457, allocations: 4 kB / 0.7682 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.5457, allocations: 3.938 kB / 0.7682 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003545/0.5493, allocations: 2.56 MB / 0.7707 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.5493, allocations: 9.109 kB / 0.7707 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007219/0.55, allocations: 192.8 kB / 0.7709 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004204/0.5504, allocations: 72.78 kB / 0.771 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-05/0.5505, allocations: 27.98 kB / 0.771 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/0.5521, allocations: 1.686 MB / 0.7727 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.5522, allocations: 4.031 kB / 0.7727 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.5542, allocations: 1.164 MB / 0.7738 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003706/0.5546, allocations: 323.3 kB / 0.7741 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.5548, allocations: 27.94 kB / 0.7741 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000678/0.5554, allocations: 59.94 kB / 0.7742 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.5556, allocations: 76.89 kB / 0.7743 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-05/0.5557, allocations: 39.98 kB / 0.7743 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006363/0.5563, allocations: 0.5807 MB / 0.7749 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5563, allocations: 0 / 0.7749 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008439/0.5572, allocations: 398.6 kB / 0.7752 GB, free: 8.527 MB / 0.5919 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 (115): * Single equations (assignments): 112 * 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.003408/0.5606, allocations: 2.226 MB / 0.7774 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002678/0.5633, allocations: 1.259 MB / 0.7786 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5633, allocations: 4.188 kB / 0.7786 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009473/0.5642, allocations: 0.6095 MB / 0.7792 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.5654, allocations: 302.2 kB / 0.7795 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.5774, allocations: 8.529 MB / 0.7879 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006228/0.578, allocations: 1.169 MB / 0.789 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008325/0.5788, allocations: 292.4 kB / 0.7893 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006493/0.5795, allocations: 0.5422 MB / 0.7898 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.5795, allocations: 0 / 0.7898 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.531/3.11, allocations: 25.88 MB / 0.8151 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.24/24.35, allocations: 2.578 kB / 0.8151 GB, free: 15.91 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)