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.001202/0.001201, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001023/0.001023, allocations: 192.7 kB / 16.14 MB, free: 6.703 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.231/1.231, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001985/0.001985, allocations: 278.6 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8986/0.8986, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 92.73 kB / 0.5946 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1634, allocations: 86.97 MB / 0.6795 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006094/0.1695, allocations: 4.294 MB / 0.6837 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4245/0.594, allocations: 148.2 MB / 0.8285 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006004/0.5947, allocations: 19.34 kB / 0.8285 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000422/0.5951, allocations: 136.2 kB / 0.8286 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.5962, allocations: 434.2 kB / 0.829 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.5975, allocations: 0.7085 MB / 0.8297 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008118/0.5984, allocations: 1.193 MB / 0.8309 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006544/0.599, allocations: 0.5914 MB / 0.8315 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003747/0.5994, allocations: 402.9 kB / 0.8319 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003712/0.5998, allocations: 456.9 kB / 0.8323 GB, free: 432 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.5999, allocations: 57.75 kB / 0.8323 GB, free: 428 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006343/0.6005, allocations: 392.6 kB / 0.8327 GB, free: 420 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.6007, allocations: 236 kB / 0.8329 GB, free: 368 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003216/0.6011, allocations: 485.6 kB / 0.8334 GB, free: 200 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.6022, allocations: 1.491 MB / 0.8349 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.6022, allocations: 0 / 0.8349 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.72e-07/0.6022, allocations: 0 / 0.8349 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.6022, allocations: 0 / 0.8349 GB, free: 15.97 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002423/0.6046, allocations: 1.404 MB / 0.8362 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.6047, allocations: 14.31 kB / 0.8362 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001382/0.6048, allocations: 130.6 kB / 0.8364 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000875/0.6057, allocations: 184.3 kB / 0.8365 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008725/0.6066, allocations: 0.7364 MB / 0.8373 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.6066, allocations: 64.03 kB / 0.8373 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.6068, allocations: 84.52 kB / 0.8374 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.6082, allocations: 0.9037 MB / 0.8383 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.6082, allocations: 0 / 0.8383 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.876e-05/0.6083, allocations: 32.97 kB / 0.8383 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.6083, allocations: 19.47 kB / 0.8383 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/0.6099, allocations: 1.096 MB / 0.8394 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00347/0.6134, allocations: 2.469 MB / 0.8418 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.6147, allocations: 0.8666 MB / 0.8427 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004827/0.6152, allocations: 297.7 kB / 0.843 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.985e-05/0.6153, allocations: 32.27 kB / 0.843 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008342/0.6162, allocations: 500 kB / 0.8435 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.224e-06/0.6162, allocations: 0 / 0.8435 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79): time 0.002871/0.6191, allocations: 1.176 MB / 0.8446 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.99e-05/0.6192, allocations: 191.5 kB / 0.8448 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006885/0.6198, allocations: 0.6194 MB / 0.8454 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.374e-05/0.6199, allocations: 41.95 kB / 0.8454 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.6202, allocations: 391.8 kB / 0.8458 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.6204, allocations: 263.1 kB / 0.8461 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/0.6206, allocations: 141.8 kB / 0.8462 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.6208, allocations: 389 kB / 0.8466 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004551/0.6212, allocations: 237.9 kB / 0.8468 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005534/0.6218, allocations: 353.9 kB / 0.8471 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009574/0.6228, allocations: 0.5651 MB / 0.8477 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.6228, allocations: 6.562 kB / 0.8477 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001703/0.6245, allocations: 0.7863 MB / 0.8485 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.6245, allocations: 4.531 kB / 0.8485 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.6245, allocations: 2.75 kB / 0.8485 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005875/0.6251, allocations: 83.55 kB / 0.8485 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005764/0.6257, allocations: 147 kB / 0.8487 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/0.6276, allocations: 1.522 MB / 0.8502 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006422/0.6283, allocations: 89.2 kB / 0.8503 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/0.6284, allocations: 29.91 kB / 0.8503 GB, free: 6.891 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.0003769/0.6287, allocations: 261.9 kB / 0.8505 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.6289, allocations: 83.62 kB / 0.8506 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/0.6311, allocations: 1.059 MB / 0.8516 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.6311, allocations: 6.812 kB / 0.8517 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.6311, allocations: 4 kB / 0.8517 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.6311, allocations: 6.891 kB / 0.8517 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002805/0.6339, allocations: 1.908 MB / 0.8535 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.634, allocations: 0 / 0.8535 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005201/0.6345, allocations: 140.3 kB / 0.8537 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004938/0.635, allocations: 89.45 kB / 0.8537 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.455e-05/0.6351, allocations: 27.67 kB / 0.8538 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/0.6367, allocations: 1.546 MB / 0.8553 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6367, allocations: 0 / 0.8553 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.6385, allocations: 0.9798 MB / 0.8562 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003117/0.6388, allocations: 271.2 kB / 0.8565 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.639, allocations: 23.38 kB / 0.8565 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006212/0.6396, allocations: 58.62 kB / 0.8566 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.6397, allocations: 77.33 kB / 0.8566 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.35e-05/0.6398, allocations: 30.92 kB / 0.8567 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004752/0.6403, allocations: 457.9 kB / 0.8571 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6403, allocations: 0 / 0.8571 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007439/0.6411, allocations: 302.9 kB / 0.8574 GB, free: 1.945 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.003185/0.6442, allocations: 2.042 MB / 0.8594 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001378/0.6456, allocations: 0.7791 MB / 0.8602 GB, free: 272 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6457, allocations: 0 / 0.8602 GB, free: 272 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008377/0.6465, allocations: 0.5081 MB / 0.8607 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.6476, allocations: 263.8 kB / 0.8609 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.6585, allocations: 6.817 MB / 0.8676 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.659, allocations: 1.024 MB / 0.8686 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007602/0.6598, allocations: 256 kB / 0.8688 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004925/0.6603, allocations: 377.6 kB / 0.8692 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.6603, allocations: 0 / 0.8692 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03542/0.6957, allocations: 19.95 MB / 0.8887 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/0.696, allocations: 337.9 kB / 0.889 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.187/2.883, allocations: 2.531 kB / 0.889 GB, free: 8.582 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)