Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="BuildingSystems_BuildingSystems_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.001062/0.001066, allocations: 98.27 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.008212/0.008212, allocations: 169 kB / 16.26 MB, free: 6.652 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.33/1.33, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001736/0.001736, allocations: 278.3 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9135/0.9135, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004098/0.0004101, allocations: 17.59 kB / 0.5988 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1512, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004374/0.1556, allocations: 3.868 MB / 0.689 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4426/0.5982, allocations: 146.6 MB / 0.8322 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006245/0.5989, allocations: 14.94 kB / 0.8322 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005363/0.5994, allocations: 139.9 kB / 0.8324 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.6009, allocations: 427 kB / 0.8328 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.6026, allocations: 0.7097 MB / 0.8335 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001379/0.604, allocations: 1.186 MB / 0.8346 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000885/0.6049, allocations: 0.5852 MB / 0.8352 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005967/0.6055, allocations: 332.4 kB / 0.8355 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006095/0.6061, allocations: 373.3 kB / 0.8359 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.6063, allocations: 24.34 kB / 0.8359 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008013/0.6071, allocations: 367.8 kB / 0.8362 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.6073, allocations: 185.4 kB / 0.8364 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003924/0.6077, allocations: 440.6 kB / 0.8368 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.6091, allocations: 1.455 MB / 0.8383 GB, free: 9 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6091, allocations: 0 / 0.8383 GB, free: 9 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6091, allocations: 0 / 0.8383 GB, free: 9 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.6091, allocations: 0 / 0.8383 GB, free: 9 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001936/0.6111, allocations: 1.196 MB / 0.8394 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.6111, allocations: 10.19 kB / 0.8394 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001538/0.6113, allocations: 130.1 kB / 0.8396 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008408/0.6121, allocations: 198.3 kB / 0.8397 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008769/0.613, allocations: 0.7407 MB / 0.8405 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.29e-05/0.6131, allocations: 60.91 kB / 0.8405 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-05/0.6132, allocations: 75.38 kB / 0.8406 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.6145, allocations: 0.915 MB / 0.8415 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.6146, allocations: 3.938 kB / 0.8415 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-05/0.6147, allocations: 41.73 kB / 0.8415 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.6147, allocations: 19.12 kB / 0.8416 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.6163, allocations: 1.099 MB / 0.8426 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003393/0.6197, allocations: 2.501 MB / 0.8451 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.621, allocations: 0.8706 MB / 0.8459 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004853/0.6215, allocations: 301.5 kB / 0.8462 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-05/0.6216, allocations: 34.78 kB / 0.8462 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007775/0.6224, allocations: 0.4904 MB / 0.8467 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.184e-06/0.6224, allocations: 0 / 0.8467 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79): time 0.00282/0.6252, allocations: 1.189 MB / 0.8479 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.349e-05/0.6253, allocations: 188.5 kB / 0.8481 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007046/0.626, allocations: 0.6183 MB / 0.8487 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.298e-05/0.6261, allocations: 42.77 kB / 0.8487 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.6264, allocations: 394.7 kB / 0.8491 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.6266, allocations: 255.2 kB / 0.8493 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.404e-05/0.6266, allocations: 59.41 kB / 0.8494 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.6268, allocations: 387.3 kB / 0.8497 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004796/0.6273, allocations: 248.8 kB / 0.85 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005676/0.6279, allocations: 357.3 kB / 0.8503 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009883/0.6289, allocations: 0.5794 MB / 0.8509 GB, free: 272 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6289, allocations: 0 / 0.8509 GB, free: 272 kB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001677/0.6306, allocations: 0.7884 MB / 0.8517 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.6306, allocations: 11.58 kB / 0.8517 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.6306, allocations: 4.094 kB / 0.8517 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000562/0.6312, allocations: 76.78 kB / 0.8517 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005548/0.6318, allocations: 160.3 kB / 0.8519 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/0.6337, allocations: 1.513 MB / 0.8534 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007277/0.6344, allocations: 102.1 kB / 0.8535 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-05/0.6345, allocations: 38.88 kB / 0.8535 GB, free: 14.2 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: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0006899/0.6352, allocations: 262.8 kB / 0.8538 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.6354, allocations: 80.38 kB / 0.8538 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002605/0.638, allocations: 1.065 MB / 0.8549 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.638, allocations: 9.281 kB / 0.8549 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.638, allocations: 2.562 kB / 0.8549 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.6381, allocations: 8.062 kB / 0.8549 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003102/0.6412, allocations: 1.919 MB / 0.8568 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.6412, allocations: 4 kB / 0.8568 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005309/0.6417, allocations: 146 kB / 0.8569 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005026/0.6422, allocations: 88.64 kB / 0.857 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/0.6423, allocations: 22.86 kB / 0.857 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/0.6441, allocations: 1.539 MB / 0.8585 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.6441, allocations: 4.062 kB / 0.8585 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.6459, allocations: 0.9961 MB / 0.8595 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003603/0.6463, allocations: 283.6 kB / 0.8598 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.6464, allocations: 18.88 kB / 0.8598 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006577/0.6471, allocations: 85.61 kB / 0.8599 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.6472, allocations: 73.62 kB / 0.8599 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.32e-05/0.6473, allocations: 34.19 kB / 0.86 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005307/0.6478, allocations: 455.4 kB / 0.8604 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6478, allocations: 0 / 0.8604 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008195/0.6487, allocations: 302.9 kB / 0.8607 GB, free: 9.215 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003334/0.652, allocations: 2.055 MB / 0.8627 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001451/0.6535, allocations: 0.7912 MB / 0.8635 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6535, allocations: 6.938 kB / 0.8635 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008142/0.6543, allocations: 0.515 MB / 0.864 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.6555, allocations: 258.4 kB / 0.8642 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.6671, allocations: 6.895 MB / 0.871 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005719/0.6677, allocations: 1.015 MB / 0.872 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008732/0.6686, allocations: 258.5 kB / 0.8722 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005051/0.6691, allocations: 375.2 kB / 0.8726 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.6691, allocations: 0 / 0.8726 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03617/0.7053, allocations: 19.66 MB / 0.8918 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/0.7055, allocations: 332.7 kB / 0.8921 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.235/2.941, allocations: 3.438 kB / 0.8921 GB, free: 11.54 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)