Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_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.0008397/0.0008397, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.007036/0.007036, allocations: 171.6 kB / 16.27 MB, free: 6.648 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.398/1.398, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9032/0.9032, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004566/0.0004564, allocations: 8 kB / 0.5077 GB, free: 4.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1748, allocations: 82.31 MB / 0.5881 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004001/0.1788, allocations: 3.675 MB / 0.5917 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3804/0.5592, allocations: 146.5 MB / 0.7348 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005587/0.5598, allocations: 14.72 kB / 0.7348 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004618/0.5602, allocations: 130.9 kB / 0.7349 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.5615, allocations: 408.9 kB / 0.7353 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.5634, allocations: 0.678 MB / 0.736 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001474/0.5649, allocations: 1.088 MB / 0.737 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009128/0.5658, allocations: 0.5863 MB / 0.7376 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005767/0.5664, allocations: 287.7 kB / 0.7379 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000473/0.5669, allocations: 328.2 kB / 0.7382 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.081e-05/0.567, allocations: 24.59 kB / 0.7382 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008738/0.5679, allocations: 363.4 kB / 0.7385 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000223/0.5681, allocations: 169.3 kB / 0.7387 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004509/0.5685, allocations: 403.8 kB / 0.7391 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.5702, allocations: 1.369 MB / 0.7404 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5702, allocations: 0 / 0.7404 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5702, allocations: 8.875 kB / 0.7404 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.5702, allocations: 0 / 0.7404 GB, free: 12.06 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001823/0.5721, allocations: 1.113 MB / 0.7415 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.5721, allocations: 8.375 kB / 0.7415 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001571/0.5723, allocations: 130.7 kB / 0.7417 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008296/0.5731, allocations: 186.8 kB / 0.7418 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008874/0.574, allocations: 0.701 MB / 0.7425 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.642e-05/0.5741, allocations: 58.09 kB / 0.7426 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.553e-05/0.5742, allocations: 76.7 kB / 0.7426 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.5755, allocations: 0.8639 MB / 0.7435 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.5755, allocations: 1.375 kB / 0.7435 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-05/0.5756, allocations: 32.25 kB / 0.7435 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.5756, allocations: 19.25 kB / 0.7435 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.5772, allocations: 1.074 MB / 0.7446 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003304/0.5805, allocations: 2.414 MB / 0.7469 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.5817, allocations: 0.8021 MB / 0.7477 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004251/0.5821, allocations: 279.8 kB / 0.748 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.639e-05/0.5822, allocations: 35.48 kB / 0.748 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006772/0.5829, allocations: 425.6 kB / 0.7484 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 1.783e-06/0.5829, allocations: 0 / 0.7484 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002588/0.5855, allocations: 1.085 MB / 0.7495 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.057e-05/0.5856, allocations: 189.6 kB / 0.7497 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006189/0.5862, allocations: 0.5815 MB / 0.7502 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.214e-05/0.5863, allocations: 38.83 kB / 0.7503 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.5866, allocations: 376.1 kB / 0.7506 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.5868, allocations: 235.9 kB / 0.7509 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.252e-05/0.5868, allocations: 57.23 kB / 0.7509 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.587, allocations: 377.8 kB / 0.7513 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003872/0.5874, allocations: 215.6 kB / 0.7515 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004787/0.5879, allocations: 321 kB / 0.7518 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009145/0.5888, allocations: 0.5312 MB / 0.7523 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.5888, allocations: 0 / 0.7523 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001558/0.5904, allocations: 0.7236 MB / 0.753 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.5904, allocations: 4 kB / 0.753 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.5904, allocations: 4 kB / 0.753 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005591/0.591, allocations: 80.86 kB / 0.7531 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005187/0.5915, allocations: 143.8 kB / 0.7532 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.5934, allocations: 1.533 MB / 0.7547 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005375/0.5939, allocations: 87.17 kB / 0.7548 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.529e-05/0.594, allocations: 23.98 kB / 0.7548 GB, free: 1.078 MB / 0.5606 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.000365/0.5944, allocations: 253.6 kB / 0.7551 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.5945, allocations: 75.14 kB / 0.7552 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002051/0.5965, allocations: 0.9767 MB / 0.7561 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.5965, allocations: 12 kB / 0.7561 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.5965, allocations: 0 / 0.7561 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.5966, allocations: 3.984 kB / 0.7561 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002761/0.5993, allocations: 1.84 MB / 0.7579 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.5993, allocations: 0 / 0.7579 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004947/0.5998, allocations: 139.8 kB / 0.7581 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000487/0.6003, allocations: 80.78 kB / 0.7581 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.336e-05/0.6004, allocations: 23.98 kB / 0.7582 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001684/0.6021, allocations: 1.575 MB / 0.7597 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6021, allocations: 0 / 0.7597 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.6037, allocations: 0.9025 MB / 0.7606 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/0.6041, allocations: 267.8 kB / 0.7608 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.723e-05/0.6042, allocations: 16 kB / 0.7608 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005508/0.6047, allocations: 67.94 kB / 0.7609 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.6048, allocations: 60.86 kB / 0.761 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.507e-05/0.6049, allocations: 31.97 kB / 0.761 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000515/0.6054, allocations: 427.1 kB / 0.7614 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6054, allocations: 0 / 0.7614 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008062/0.6062, allocations: 287.1 kB / 0.7617 GB, free: 9.828 MB / 0.5762 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.003016/0.6093, allocations: 1.935 MB / 0.7636 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001331/0.6106, allocations: 0.7198 MB / 0.7643 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.6106, allocations: 0 / 0.7643 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008165/0.6114, allocations: 0.4924 MB / 0.7648 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.6126, allocations: 257.2 kB / 0.765 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.6243, allocations: 6.424 MB / 0.7713 GB, free: 76 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005617/0.6249, allocations: 0.989 MB / 0.7722 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007762/0.6257, allocations: 246 kB / 0.7725 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004457/0.6262, allocations: 351.2 kB / 0.7728 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of SimCode: time 6.52e-07/0.6262, allocations: 4 kB / 0.7728 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1163/0.7425, allocations: 18.5 MB / 0.7909 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/0.7427, allocations: 287.1 kB / 0.7911 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.811/3.553, allocations: 3.938 kB / 0.7912 GB, free: 11.93 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)