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.001361/0.001361, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001277/0.001277, allocations: 194 kB / 16.25 MB, free: 6.617 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.278/1.278, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002065/0.002065, allocations: 278.4 kB / 290.3 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8956/0.8956, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001539, allocations: 93.12 kB / 0.5948 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1303, allocations: 86.97 MB / 0.6797 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005314/0.1357, allocations: 4.285 MB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3656/0.5013, allocations: 148.3 MB / 0.8287 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005701/0.5019, allocations: 15.25 kB / 0.8288 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004122/0.5023, allocations: 133.7 kB / 0.8289 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.5035, allocations: 452 kB / 0.8293 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.5048, allocations: 0.7306 MB / 0.83 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008753/0.5056, allocations: 1.289 MB / 0.8313 GB, free: 392 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006253/0.5063, allocations: 0.6095 MB / 0.8319 GB, free: 256 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004145/0.5067, allocations: 466.5 kB / 0.8323 GB, free: 160 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000364/0.5071, allocations: 491.3 kB / 0.8328 GB, free: 48 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.5072, allocations: 112.8 kB / 0.8329 GB, free: 48 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000578/0.5078, allocations: 456.8 kB / 0.8333 GB, free: 28 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.508, allocations: 296 kB / 0.8336 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003447/0.5083, allocations: 0.5322 MB / 0.8341 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.5095, allocations: 1.546 MB / 0.8357 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.5095, allocations: 0 / 0.8357 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5095, allocations: 3.75 kB / 0.8357 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.5095, allocations: 1.25 kB / 0.8357 GB, free: 15.59 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.00208/0.5116, allocations: 1.402 MB / 0.837 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.5116, allocations: 10.09 kB / 0.837 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000122/0.5118, allocations: 136.4 kB / 0.8372 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008131/0.5126, allocations: 184 kB / 0.8373 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007961/0.5134, allocations: 0.733 MB / 0.8381 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.252e-05/0.5135, allocations: 62.75 kB / 0.8381 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.962e-05/0.5136, allocations: 80.94 kB / 0.8382 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.5148, allocations: 0.9024 MB / 0.8391 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.5148, allocations: 0 / 0.8391 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.01e-05/0.5149, allocations: 33.78 kB / 0.8391 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.5149, allocations: 18.81 kB / 0.8391 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.5164, allocations: 1.096 MB / 0.8402 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003106/0.5195, allocations: 2.473 MB / 0.8426 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.5207, allocations: 0.8624 MB / 0.8435 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004507/0.5212, allocations: 299.3 kB / 0.8437 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-05/0.5213, allocations: 29.77 kB / 0.8438 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007649/0.5221, allocations: 497 kB / 0.8442 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 1.834e-06/0.5221, allocations: 0 / 0.8442 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79): time 0.002667/0.5247, allocations: 1.172 MB / 0.8454 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.711e-05/0.5248, allocations: 187 kB / 0.8456 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006151/0.5255, allocations: 0.6257 MB / 0.8462 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.86e-05/0.5255, allocations: 38.52 kB / 0.8462 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.5258, allocations: 400.5 kB / 0.8466 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.5259, allocations: 253.8 kB / 0.8468 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.5261, allocations: 143.5 kB / 0.847 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.5263, allocations: 383.8 kB / 0.8473 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004362/0.5267, allocations: 242.5 kB / 0.8476 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/0.5272, allocations: 353.4 kB / 0.8479 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008786/0.5281, allocations: 0.5722 MB / 0.8485 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5281, allocations: 0 / 0.8485 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001597/0.5297, allocations: 0.7915 MB / 0.8492 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.5298, allocations: 9.359 kB / 0.8493 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5298, allocations: 6.188 kB / 0.8493 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005348/0.5303, allocations: 75.38 kB / 0.8493 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005489/0.5309, allocations: 151.1 kB / 0.8495 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/0.5327, allocations: 1.631 MB / 0.8511 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000557/0.5333, allocations: 88.73 kB / 0.8512 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/0.5333, allocations: 26.64 kB / 0.8512 GB, free: 6.625 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.0003016/0.5336, allocations: 270.5 kB / 0.8514 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.5338, allocations: 85.03 kB / 0.8515 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/0.5358, allocations: 1.047 MB / 0.8525 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.5359, allocations: 13.31 kB / 0.8526 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.5359, allocations: 3.938 kB / 0.8526 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.5359, allocations: 7.969 kB / 0.8526 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00263/0.5385, allocations: 1.92 MB / 0.8544 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.5385, allocations: 0 / 0.8544 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004895/0.539, allocations: 143.7 kB / 0.8546 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003919/0.5394, allocations: 66.77 kB / 0.8546 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-05/0.5395, allocations: 34 kB / 0.8547 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/0.5411, allocations: 1.654 MB / 0.8563 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.5412, allocations: 3.938 kB / 0.8563 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.5428, allocations: 0.9796 MB / 0.8572 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002711/0.5431, allocations: 275.5 kB / 0.8575 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.5432, allocations: 17.44 kB / 0.8575 GB, free: 2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005944/0.5438, allocations: 60.41 kB / 0.8576 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.5439, allocations: 75.36 kB / 0.8577 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.896e-05/0.544, allocations: 30.7 kB / 0.8577 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004255/0.5444, allocations: 454.5 kB / 0.8581 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5444, allocations: 2.094 kB / 0.8581 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006594/0.5451, allocations: 303 kB / 0.8584 GB, free: 1.57 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.002946/0.5481, allocations: 2.033 MB / 0.8604 GB, free: 308 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001867/0.5499, allocations: 0.9858 MB / 0.8614 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.55, allocations: 6.328 kB / 0.8614 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007681/0.5507, allocations: 0.5099 MB / 0.8619 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.5518, allocations: 288.7 kB / 0.8621 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.5618, allocations: 6.812 MB / 0.8688 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.5623, allocations: 1.023 MB / 0.8698 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006634/0.563, allocations: 257.5 kB / 0.87 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004387/0.5634, allocations: 381.1 kB / 0.8704 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.5634, allocations: 0 / 0.8704 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.024/2.588, allocations: 20.51 MB / 0.8904 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003158/2.588, allocations: 329.9 kB / 0.8907 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/4.948, allocations: 3.094 kB / 0.8907 GB, free: 6.867 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)