Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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/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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_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.001172/0.001172, allocations: 108 kB / 15.6 MB, free: 132 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.001179/0.001179, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.2/1.2, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6713/0.6713, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 56.03 kB / 0.5019 GB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3527, allocations: 80.2 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004853/0.3576, allocations: 4.18 MB / 0.5843 GB, free: 1.605 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1554/0.513, allocations: 150.6 MB / 0.7314 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009225/0.514, allocations: 19.94 kB / 0.7314 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005107/0.5145, allocations: 170.4 kB / 0.7316 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.5161, allocations: 484.3 kB / 0.732 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.518, allocations: 0.7966 MB / 0.7328 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001022/0.519, allocations: 1.211 MB / 0.734 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007413/0.5197, allocations: 0.6178 MB / 0.7346 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004526/0.5202, allocations: 446.3 kB / 0.735 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004425/0.5207, allocations: 461.9 kB / 0.7354 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.5208, allocations: 108 kB / 0.7356 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007231/0.5215, allocations: 443.6 kB / 0.736 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.5218, allocations: 283.1 kB / 0.7362 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003756/0.5222, allocations: 0.5012 MB / 0.7367 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.5235, allocations: 1.465 MB / 0.7382 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.5235, allocations: 0 / 0.7382 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5235, allocations: 0 / 0.7382 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.5235, allocations: 0 / 0.7382 GB, free: 15.16 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002001/0.5256, allocations: 1.349 MB / 0.7395 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.5256, allocations: 12.02 kB / 0.7395 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001376/0.5257, allocations: 127.3 kB / 0.7396 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000834/0.5266, allocations: 187.4 kB / 0.7398 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008407/0.5274, allocations: 0.7109 MB / 0.7405 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.112e-05/0.5275, allocations: 62 kB / 0.7405 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.31e-05/0.5276, allocations: 79.98 kB / 0.7406 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.5289, allocations: 0.8872 MB / 0.7415 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.5289, allocations: 3.938 kB / 0.7415 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.136e-05/0.529, allocations: 36 kB / 0.7415 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.529, allocations: 20 kB / 0.7415 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.5306, allocations: 1.097 MB / 0.7426 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003418/0.534, allocations: 2.514 MB / 0.7451 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.5353, allocations: 0.7297 MB / 0.7458 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004672/0.5358, allocations: 290.7 kB / 0.7461 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.946e-05/0.5358, allocations: 32.55 kB / 0.7461 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007491/0.5366, allocations: 447.3 kB / 0.7465 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 1.983e-06/0.5366, allocations: 0 / 0.7465 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.002834/0.5394, allocations: 1.116 MB / 0.7476 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.748e-05/0.5395, allocations: 192.6 kB / 0.7478 GB, free: 5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000641/0.5402, allocations: 0.6056 MB / 0.7484 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.26e-05/0.5403, allocations: 37.7 kB / 0.7484 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.5405, allocations: 372.3 kB / 0.7488 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.5407, allocations: 260.3 kB / 0.749 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.5409, allocations: 138.5 kB / 0.7492 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.541, allocations: 386.7 kB / 0.7495 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004377/0.5415, allocations: 229.9 kB / 0.7497 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005235/0.542, allocations: 342.2 kB / 0.7501 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009663/0.543, allocations: 0.555 MB / 0.7506 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.83e-06/0.543, allocations: 4 kB / 0.7506 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001668/0.5447, allocations: 0.751 MB / 0.7514 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.5447, allocations: 4 kB / 0.7514 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.5447, allocations: 3.984 kB / 0.7514 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005655/0.5453, allocations: 80.84 kB / 0.7514 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005772/0.5459, allocations: 151.8 kB / 0.7516 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.5478, allocations: 1.626 MB / 0.7532 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005199/0.5483, allocations: 83.38 kB / 0.7532 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/0.5484, allocations: 35.97 kB / 0.7533 GB, free: 15.14 MB / 0.5919 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 (81): * Single equations (assignments): 80 * 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.0003096/0.5487, allocations: 251.3 kB / 0.7535 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.5488, allocations: 86.98 kB / 0.7536 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/0.551, allocations: 1.018 MB / 0.7546 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.515e-06/0.551, allocations: 15.94 kB / 0.7546 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.551, allocations: 0 / 0.7546 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.5511, allocations: 7.922 kB / 0.7546 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002902/0.554, allocations: 1.884 MB / 0.7565 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.554, allocations: 0 / 0.7565 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005459/0.5545, allocations: 151.8 kB / 0.7566 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004138/0.5549, allocations: 68.8 kB / 0.7567 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.094e-05/0.555, allocations: 23.98 kB / 0.7567 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001791/0.5568, allocations: 1.662 MB / 0.7583 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.5568, allocations: 0 / 0.7583 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.5586, allocations: 0.9296 MB / 0.7592 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003365/0.559, allocations: 255.8 kB / 0.7595 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.5591, allocations: 16 kB / 0.7595 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00056/0.5597, allocations: 59.94 kB / 0.7595 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.5598, allocations: 60.86 kB / 0.7596 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.9e-05/0.5599, allocations: 35.97 kB / 0.7596 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005188/0.5604, allocations: 443 kB / 0.7601 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5604, allocations: 0 / 0.7601 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007307/0.5612, allocations: 295.2 kB / 0.7603 GB, free: 7.645 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 (87): * Single equations (assignments): 84 * 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.003158/0.5643, allocations: 1.982 MB / 0.7623 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001994/0.5663, allocations: 0.9464 MB / 0.7632 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5664, allocations: 0 / 0.7632 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008306/0.5672, allocations: 492.3 kB / 0.7637 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.5683, allocations: 290.8 kB / 0.7639 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009842/0.5782, allocations: 6.24 MB / 0.77 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005605/0.5787, allocations: 1.012 MB / 0.771 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007651/0.5795, allocations: 262.2 kB / 0.7713 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004851/0.58, allocations: 355.3 kB / 0.7716 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of SimCode: time 4.91e-07/0.58, allocations: 0 / 0.7716 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04469/0.6247, allocations: 20.18 MB / 0.7913 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.96, allocations: 11.34 kB / 0.7913 GB, free: 8.355 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)