Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_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.001156/0.001156, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001156/0.001156, allocations: 191 kB / 16.25 MB, free: 6.637 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.149/1.149, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8075/0.8075, allocations: 135.1 MB / 425.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 68.67 kB / 0.505 GB, free: 5.551 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1207, allocations: 80.93 MB / 0.584 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004631/0.1254, allocations: 4.163 MB / 0.5881 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3058/0.4312, allocations: 148.4 MB / 0.733 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006066/0.4318, allocations: 18.47 kB / 0.733 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005278/0.4324, allocations: 134.2 kB / 0.7332 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001425/0.4338, allocations: 434 kB / 0.7336 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.4355, allocations: 0.7088 MB / 0.7343 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001265/0.4368, allocations: 1.206 MB / 0.7354 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008161/0.4376, allocations: 0.6246 MB / 0.7361 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006065/0.4382, allocations: 449.2 kB / 0.7365 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005821/0.4388, allocations: 463.2 kB / 0.7369 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001702/0.439, allocations: 105.4 kB / 0.737 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006883/0.4397, allocations: 453.6 kB / 0.7375 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.4399, allocations: 274.3 kB / 0.7377 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003745/0.4403, allocations: 0.5113 MB / 0.7382 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.4417, allocations: 1.461 MB / 0.7396 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.4417, allocations: 0 / 0.7396 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4417, allocations: 0 / 0.7396 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.544e-05/0.4417, allocations: 1.781 kB / 0.7396 GB, free: 10.25 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002267/0.444, allocations: 1.346 MB / 0.741 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.444, allocations: 9.625 kB / 0.741 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001456/0.4442, allocations: 135.8 kB / 0.7411 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008223/0.445, allocations: 183.7 kB / 0.7413 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000898/0.4459, allocations: 0.7086 MB / 0.742 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.68e-05/0.446, allocations: 63.5 kB / 0.742 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.41e-05/0.4461, allocations: 76.25 kB / 0.7421 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.4474, allocations: 0.8878 MB / 0.743 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.4475, allocations: 0 / 0.743 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.445e-05/0.4475, allocations: 35.91 kB / 0.743 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.4476, allocations: 18.97 kB / 0.743 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.449, allocations: 1.101 MB / 0.7441 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003304/0.4523, allocations: 2.507 MB / 0.7465 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.4534, allocations: 0.7233 MB / 0.7472 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004203/0.4538, allocations: 293.3 kB / 0.7475 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.755e-05/0.4539, allocations: 35.5 kB / 0.7476 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007387/0.4547, allocations: 448.5 kB / 0.748 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 1.733e-06/0.4547, allocations: 0 / 0.748 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.002694/0.4574, allocations: 1.112 MB / 0.7491 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.011e-05/0.4575, allocations: 188.6 kB / 0.7493 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005882/0.4581, allocations: 0.5979 MB / 0.7498 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.979e-05/0.4581, allocations: 41.7 kB / 0.7499 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.4584, allocations: 380.2 kB / 0.7502 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.4585, allocations: 260.2 kB / 0.7505 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.4587, allocations: 146.3 kB / 0.7506 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.4589, allocations: 386.7 kB / 0.751 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004001/0.4593, allocations: 225.9 kB / 0.7512 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004854/0.4598, allocations: 334.2 kB / 0.7515 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008872/0.4607, allocations: 0.5628 MB / 0.7521 GB, free: 500 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4607, allocations: 0 / 0.7521 GB, free: 500 kB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00157/0.4623, allocations: 0.7549 MB / 0.7528 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.4623, allocations: 8 kB / 0.7528 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4623, allocations: 0 / 0.7528 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000554/0.4629, allocations: 84.83 kB / 0.7529 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005596/0.4634, allocations: 143.8 kB / 0.753 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/0.4652, allocations: 1.63 MB / 0.7546 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004994/0.4657, allocations: 81.64 kB / 0.7547 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.174e-05/0.4658, allocations: 27.98 kB / 0.7547 GB, free: 13.61 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 (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.0002852/0.4661, allocations: 253.6 kB / 0.755 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.4662, allocations: 85.11 kB / 0.7551 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.4683, allocations: 1.028 MB / 0.7561 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.4683, allocations: 12 kB / 0.7561 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.4683, allocations: 0 / 0.7561 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.4683, allocations: 7.984 kB / 0.7561 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002654/0.471, allocations: 1.88 MB / 0.7579 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.471, allocations: 0 / 0.7579 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005325/0.4716, allocations: 151.7 kB / 0.7581 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003962/0.472, allocations: 76.72 kB / 0.7581 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.674e-05/0.472, allocations: 19.98 kB / 0.7582 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/0.4736, allocations: 1.659 MB / 0.7598 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4736, allocations: 3.938 kB / 0.7598 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.4752, allocations: 0.9297 MB / 0.7607 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002694/0.4755, allocations: 259.8 kB / 0.7609 GB, free: 7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.4756, allocations: 19.98 kB / 0.761 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005219/0.4762, allocations: 51.95 kB / 0.761 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.4763, allocations: 64.91 kB / 0.7611 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.658e-05/0.4763, allocations: 31.98 kB / 0.7611 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004353/0.4768, allocations: 449.7 kB / 0.7615 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4768, allocations: 0 / 0.7615 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006636/0.4775, allocations: 287.3 kB / 0.7618 GB, free: 6.117 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 (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.002894/0.4804, allocations: 1.98 MB / 0.7637 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001812/0.4822, allocations: 0.9462 MB / 0.7647 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4822, allocations: 4 kB / 0.7647 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000769/0.483, allocations: 496.3 kB / 0.7651 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.484, allocations: 286.4 kB / 0.7654 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009891/0.4939, allocations: 6.621 MB / 0.7719 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/0.4944, allocations: 1.011 MB / 0.7729 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006817/0.4951, allocations: 254.5 kB / 0.7731 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000431/0.4955, allocations: 363.2 kB / 0.7735 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of SimCode: time 2.21e-07/0.4955, allocations: 0 / 0.7735 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.199/2.694, allocations: 20.04 MB / 0.793 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002622/2.695, allocations: 301.9 kB / 0.7933 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.013/4.707, allocations: 0 / 0.7933 GB, free: 6.199 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)