Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.001466/0.001466, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.247/1.247, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001948/0.001948, allocations: 279 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9812/0.9812, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 93.44 kB / 0.5953 GB, free: 27.85 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.176, allocations: 86.98 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007373/0.1835, allocations: 4.492 MB / 0.6847 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4869/0.6704, allocations: 150.7 MB / 0.8318 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007097/0.6712, allocations: 20.19 kB / 0.8318 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004651/0.6717, allocations: 172.8 kB / 0.832 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.673, allocations: 0.525 MB / 0.8325 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.6747, allocations: 0.8753 MB / 0.8334 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001002/0.6757, allocations: 1.373 MB / 0.8347 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007558/0.6765, allocations: 0.6419 MB / 0.8353 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004833/0.677, allocations: 0.4954 MB / 0.8358 GB, free: 416 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004696/0.6774, allocations: 0.5333 MB / 0.8363 GB, free: 292 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.6776, allocations: 121.8 kB / 0.8365 GB, free: 292 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007763/0.6784, allocations: 491.2 kB / 0.8369 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002257/0.6786, allocations: 310.7 kB / 0.8372 GB, free: 228 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004268/0.6791, allocations: 0.5706 MB / 0.8378 GB, free: 48 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.6805, allocations: 1.658 MB / 0.8394 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6805, allocations: 3.469 kB / 0.8394 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6805, allocations: 4 kB / 0.8394 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.467e-05/0.6806, allocations: 0 / 0.8394 GB, free: 15.8 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002525/0.6831, allocations: 1.484 MB / 0.8409 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.6831, allocations: 8.75 kB / 0.8409 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001546/0.6833, allocations: 144.4 kB / 0.841 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009176/0.6842, allocations: 196.2 kB / 0.8412 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009568/0.6852, allocations: 0.7647 MB / 0.8419 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.369e-05/0.6853, allocations: 65.25 kB / 0.842 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.6854, allocations: 92.5 kB / 0.8421 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.687, allocations: 0.9795 MB / 0.843 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.687, allocations: 1.188 kB / 0.843 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.002e-05/0.6871, allocations: 38.44 kB / 0.8431 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/0.6871, allocations: 21.66 kB / 0.8431 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.6889, allocations: 1.161 MB / 0.8442 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003999/0.6929, allocations: 2.708 MB / 0.8469 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002144/0.6951, allocations: 0.9854 MB / 0.8478 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005593/0.6957, allocations: 334.9 kB / 0.8482 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.779e-05/0.6957, allocations: 25.39 kB / 0.8482 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008977/0.6966, allocations: 0.5305 MB / 0.8487 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 2.104e-06/0.6967, allocations: 0 / 0.8487 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.003244/0.6999, allocations: 1.296 MB / 0.85 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.333e-05/0.7, allocations: 188.6 kB / 0.8501 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007092/0.7007, allocations: 0.6503 MB / 0.8508 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.751e-05/0.7008, allocations: 51 kB / 0.8508 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/0.7011, allocations: 407.2 kB / 0.8512 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/0.7013, allocations: 281.7 kB / 0.8515 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.7015, allocations: 158.4 kB / 0.8516 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.7017, allocations: 394.9 kB / 0.852 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005327/0.7022, allocations: 264.9 kB / 0.8523 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000613/0.7029, allocations: 392.9 kB / 0.8526 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.704, allocations: 0.6292 MB / 0.8533 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.704, allocations: 0 / 0.8533 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00191/0.7059, allocations: 0.864 MB / 0.8541 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.7059, allocations: 5.656 kB / 0.8541 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.7059, allocations: 0 / 0.8541 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005956/0.7065, allocations: 86.12 kB / 0.8542 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000654/0.7072, allocations: 168.5 kB / 0.8544 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.7092, allocations: 1.621 MB / 0.8559 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007267/0.7099, allocations: 112.3 kB / 0.856 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.32e-05/0.71, allocations: 32.41 kB / 0.8561 GB, free: 5.055 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: 19 (solAzi.outsidePolarCircle,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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.000357/0.7104, allocations: 277.6 kB / 0.8563 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.7105, allocations: 86.75 kB / 0.8564 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002565/0.7131, allocations: 1.198 MB / 0.8576 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.7131, allocations: 10.06 kB / 0.8576 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.7131, allocations: 0 / 0.8576 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.7131, allocations: 7.969 kB / 0.8576 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/0.7165, allocations: 2.117 MB / 0.8597 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.7165, allocations: 0 / 0.8597 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006288/0.7171, allocations: 168.2 kB / 0.8598 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004312/0.7176, allocations: 67.98 kB / 0.8599 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.039e-05/0.7177, allocations: 29.44 kB / 0.8599 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001812/0.7195, allocations: 1.671 MB / 0.8616 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7195, allocations: 0 / 0.8616 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.7215, allocations: 1.089 MB / 0.8626 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003718/0.7219, allocations: 291 kB / 0.8629 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.722, allocations: 24.86 kB / 0.8629 GB, free: 180 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000705/0.7228, allocations: 65.28 kB / 0.863 GB, free: 148 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.7229, allocations: 81.05 kB / 0.8631 GB, free: 108 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.412e-05/0.723, allocations: 49.03 kB / 0.8631 GB, free: 84 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005868/0.7236, allocations: 475.8 kB / 0.8636 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7236, allocations: 0 / 0.8636 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008209/0.7244, allocations: 335.4 kB / 0.8639 GB, free: 15.73 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (106): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.00364/0.7281, allocations: 2.17 MB / 0.866 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002583/0.7307, allocations: 1.099 MB / 0.8671 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.7307, allocations: 2.719 kB / 0.8671 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009192/0.7316, allocations: 0.565 MB / 0.8676 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.7328, allocations: 308.5 kB / 0.8679 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.7439, allocations: 6.904 MB / 0.8747 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006287/0.7445, allocations: 1.049 MB / 0.8757 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008567/0.7454, allocations: 275.1 kB / 0.876 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006038/0.746, allocations: 411.3 kB / 0.8763 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of SimCode: time 8.61e-07/0.746, allocations: 4 kB / 0.8764 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1888/0.9348, allocations: 22.32 MB / 0.8982 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.9, allocations: 17.28 kB / 0.8982 GB, free: 1.453 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)