Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.001149/0.001149, 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.001136/0.001136, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.186/1.186, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6574/0.6574, allocations: 132.2 MB / 422.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 56.09 kB / 0.5014 GB, free: 9.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1119, allocations: 80.2 MB / 0.5797 GB, free: 9.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004576/0.1165, allocations: 4.072 MB / 0.5837 GB, free: 4.934 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.306/0.4226, allocations: 148.2 MB / 0.7284 GB, free: 3.102 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005003/0.4231, allocations: 15.91 kB / 0.7284 GB, free: 3.098 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004164/0.4235, allocations: 133.6 kB / 0.7285 GB, free: 3.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.4246, allocations: 409.9 kB / 0.7289 GB, free: 2.812 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.426, allocations: 0.7012 MB / 0.7296 GB, free: 2.445 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008313/0.4268, allocations: 1.149 MB / 0.7307 GB, free: 1.852 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000648/0.4275, allocations: 0.6009 MB / 0.7313 GB, free: 1.543 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003664/0.4279, allocations: 418.7 kB / 0.7317 GB, free: 1.328 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003933/0.4283, allocations: 435.4 kB / 0.7321 GB, free: 1.098 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.4284, allocations: 104.1 kB / 0.7322 GB, free: 1.094 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000524/0.4289, allocations: 442.3 kB / 0.7327 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002051/0.4291, allocations: 259.5 kB / 0.7329 GB, free: 0.832 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003461/0.4295, allocations: 495 kB / 0.7334 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.4306, allocations: 1.424 MB / 0.7348 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.4306, allocations: 7.844 kB / 0.7348 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.42e-07/0.4306, allocations: 0 / 0.7348 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.4306, allocations: 0 / 0.7348 GB, free: 15.89 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.00167/0.4323, allocations: 1.31 MB / 0.736 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.791e-05/0.4323, allocations: 7.938 kB / 0.7361 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.4324, allocations: 126.6 kB / 0.7362 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007269/0.4332, allocations: 176.8 kB / 0.7363 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007264/0.4339, allocations: 0.6935 MB / 0.737 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/0.4339, allocations: 57.81 kB / 0.7371 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-05/0.434, allocations: 73.94 kB / 0.7371 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.4352, allocations: 0.84 MB / 0.738 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.4352, allocations: 6.875 kB / 0.738 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-05/0.4353, allocations: 29.59 kB / 0.738 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.4353, allocations: 19.09 kB / 0.738 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.4366, allocations: 1.048 MB / 0.739 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002787/0.4394, allocations: 2.338 MB / 0.7413 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.4405, allocations: 0.77 MB / 0.7421 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003912/0.4409, allocations: 268.1 kB / 0.7423 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.109e-05/0.441, allocations: 29.47 kB / 0.7424 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006481/0.4416, allocations: 418 kB / 0.7428 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 1.813e-06/0.4416, allocations: 0 / 0.7428 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002425/0.4441, allocations: 1.046 MB / 0.7438 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.66e-05/0.4441, allocations: 188.2 kB / 0.744 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005317/0.4447, allocations: 0.5896 MB / 0.7445 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.809e-05/0.4447, allocations: 35.83 kB / 0.7446 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.445, allocations: 371.9 kB / 0.7449 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.4451, allocations: 228.7 kB / 0.7451 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.4453, allocations: 134.1 kB / 0.7453 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.4454, allocations: 374.8 kB / 0.7456 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003893/0.4458, allocations: 213.1 kB / 0.7458 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004592/0.4463, allocations: 314.8 kB / 0.7461 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008143/0.4471, allocations: 0.5078 MB / 0.7466 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4471, allocations: 4 kB / 0.7466 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001469/0.4486, allocations: 0.7002 MB / 0.7473 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.4486, allocations: 6.344 kB / 0.7473 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4486, allocations: 3.938 kB / 0.7473 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005433/0.4492, allocations: 82.66 kB / 0.7474 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/0.4497, allocations: 131.8 kB / 0.7475 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.4515, allocations: 1.636 MB / 0.7491 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004431/0.4519, allocations: 75.45 kB / 0.7492 GB, free: 5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-05/0.452, allocations: 27.98 kB / 0.7492 GB, free: 4.973 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.0002685/0.4522, allocations: 245.8 kB / 0.7495 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.4524, allocations: 75.06 kB / 0.7495 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001939/0.4543, allocations: 0.9548 MB / 0.7505 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.4543, allocations: 8 kB / 0.7505 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.4543, allocations: 4 kB / 0.7505 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.4543, allocations: 3.984 kB / 0.7505 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002505/0.4569, allocations: 1.793 MB / 0.7522 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.4569, allocations: 0 / 0.7522 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004826/0.4574, allocations: 140.5 kB / 0.7524 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004045/0.4578, allocations: 68.8 kB / 0.7524 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.67e-05/0.4578, allocations: 27.92 kB / 0.7525 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/0.4595, allocations: 1.648 MB / 0.7541 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4595, allocations: 0 / 0.7541 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.461, allocations: 0.8945 MB / 0.7549 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002407/0.4613, allocations: 243.9 kB / 0.7552 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.308e-05/0.4614, allocations: 24.12 kB / 0.7552 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005005/0.4619, allocations: 51.89 kB / 0.7552 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.462, allocations: 61.05 kB / 0.7553 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.233e-05/0.4621, allocations: 35.67 kB / 0.7553 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004197/0.4625, allocations: 423.1 kB / 0.7557 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4625, allocations: 4 kB / 0.7557 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005965/0.4631, allocations: 279.2 kB / 0.756 GB, free: 13.78 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.002805/0.4659, allocations: 1.929 MB / 0.7579 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001658/0.4676, allocations: 0.8754 MB / 0.7588 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4676, allocations: 3.938 kB / 0.7588 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007066/0.4683, allocations: 484.9 kB / 0.7592 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00096/0.4693, allocations: 288.6 kB / 0.7595 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009577/0.4789, allocations: 6.272 MB / 0.7656 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004915/0.4794, allocations: 0.9965 MB / 0.7666 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006566/0.48, allocations: 250 kB / 0.7668 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004071/0.4804, allocations: 343.3 kB / 0.7672 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.4805, allocations: 0 / 0.7672 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9211/1.402, allocations: 19.1 MB / 0.7858 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002807/1.402, allocations: 309.3 kB / 0.7861 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.111/3.513, allocations: 2.188 kB / 0.7861 GB, free: 15.39 MB / 0.6075 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)