Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_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.001328/0.001328, allocations: 107.2 kB / 16.4 MB, free: 6.445 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.001302/0.001302, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7566/0.7566, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 65.42 kB / 0.5572 GB, free: 32.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1638, allocations: 76.18 MB / 0.6316 GB, free: 4.945 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007383/0.1712, allocations: 4.769 MB / 0.6362 GB, free: 152 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.5076/0.6788, allocations: 150.6 MB / 0.7833 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.6799, allocations: 19.75 kB / 0.7833 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000738/0.6808, allocations: 191 kB / 0.7835 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.6826, allocations: 0.5381 MB / 0.784 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002166/0.6848, allocations: 0.8287 MB / 0.7848 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001718/0.6865, allocations: 1.37 MB / 0.7862 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008516/0.6874, allocations: 0.5681 MB / 0.7867 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008494/0.6882, allocations: 489 kB / 0.7872 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007692/0.689, allocations: 498.8 kB / 0.7877 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002139/0.6893, allocations: 113.2 kB / 0.7878 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.6903, allocations: 486.7 kB / 0.7882 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000268/0.6906, allocations: 295.4 kB / 0.7885 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005731/0.6912, allocations: 0.5485 MB / 0.789 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.6932, allocations: 1.61 MB / 0.7906 GB, free: 13 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.6932, allocations: 0 / 0.7906 GB, free: 13 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6932, allocations: 0 / 0.7906 GB, free: 13 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.465e-05/0.6933, allocations: 4 kB / 0.7906 GB, free: 12.99 MB / 0.5919 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.002659/0.6959, allocations: 1.419 MB / 0.792 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.696, allocations: 7.719 kB / 0.792 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001403/0.6961, allocations: 132.1 kB / 0.7921 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00095/0.6971, allocations: 185.2 kB / 0.7923 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.6983, allocations: 0.7613 MB / 0.7931 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.673e-05/0.6984, allocations: 63.56 kB / 0.7931 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.6985, allocations: 81.89 kB / 0.7932 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.7, allocations: 0.8991 MB / 0.7941 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.7, allocations: 3.938 kB / 0.7941 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.918e-05/0.7001, allocations: 39.67 kB / 0.7941 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.7001, allocations: 18.75 kB / 0.7941 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.7018, allocations: 1.092 MB / 0.7952 GB, free: 11.59 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004101/0.7059, allocations: 2.655 MB / 0.7978 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.7073, allocations: 0.873 MB / 0.7986 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004945/0.7078, allocations: 298.2 kB / 0.7989 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.265e-05/0.7079, allocations: 35.75 kB / 0.799 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008252/0.7088, allocations: 487.2 kB / 0.7994 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 2.976e-06/0.7088, allocations: 6.844 kB / 0.7994 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79): time 0.003227/0.712, allocations: 1.18 MB / 0.8006 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.7122, allocations: 193.6 kB / 0.8008 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009028/0.7131, allocations: 0.6195 MB / 0.8014 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.7132, allocations: 40.92 kB / 0.8014 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003564/0.7136, allocations: 386.7 kB / 0.8018 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.7138, allocations: 258.2 kB / 0.802 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002458/0.7141, allocations: 142.3 kB / 0.8022 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.7142, allocations: 390.9 kB / 0.8025 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004841/0.7147, allocations: 248.4 kB / 0.8028 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005829/0.7153, allocations: 356.2 kB / 0.8031 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.7163, allocations: 0.5738 MB / 0.8037 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.7164, allocations: 0 / 0.8037 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001941/0.7183, allocations: 0.7891 MB / 0.8044 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.7184, allocations: 6.969 kB / 0.8045 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.7184, allocations: 0 / 0.8045 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006106/0.719, allocations: 78.78 kB / 0.8045 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006233/0.7196, allocations: 153.9 kB / 0.8047 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/0.7218, allocations: 1.639 MB / 0.8063 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008748/0.7227, allocations: 84.58 kB / 0.8064 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.7228, allocations: 29.11 kB / 0.8064 GB, free: 6.52 MB / 0.5919 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.0005833/0.7234, allocations: 257.7 kB / 0.8066 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/0.7237, allocations: 83 kB / 0.8067 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002406/0.7261, allocations: 1.055 MB / 0.8077 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.7262, allocations: 9.344 kB / 0.8077 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.7262, allocations: 0 / 0.8077 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.7262, allocations: 7.984 kB / 0.8078 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003567/0.7298, allocations: 1.922 MB / 0.8096 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.7298, allocations: 2.375 kB / 0.8096 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005457/0.7304, allocations: 140 kB / 0.8098 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004496/0.7308, allocations: 81.92 kB / 0.8098 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.489e-05/0.7309, allocations: 23.73 kB / 0.8099 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/0.7328, allocations: 1.645 MB / 0.8115 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.7328, allocations: 3.938 kB / 0.8115 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/0.7351, allocations: 0.9842 MB / 0.8124 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005559/0.7357, allocations: 275.4 kB / 0.8127 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002721/0.7359, allocations: 16.88 kB / 0.8127 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008709/0.7368, allocations: 66.39 kB / 0.8128 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/0.7371, allocations: 69.28 kB / 0.8128 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.7372, allocations: 38.53 kB / 0.8129 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008947/0.7381, allocations: 450.3 kB / 0.8133 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7381, allocations: 3.562 kB / 0.8133 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001192/0.7393, allocations: 317.3 kB / 0.8136 GB, free: 2.172 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: 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.003782/0.7431, allocations: 2.032 MB / 0.8156 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001815/0.7449, allocations: 0.7891 MB / 0.8164 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.7449, allocations: 0 / 0.8164 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009765/0.7459, allocations: 0.5148 MB / 0.8169 GB, free: 204 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/0.7475, allocations: 294.8 kB / 0.8172 GB, free: 56 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.7587, allocations: 6.131 MB / 0.8231 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008248/0.7596, allocations: 1.016 MB / 0.8241 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001095/0.7607, allocations: 267.2 kB / 0.8244 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006144/0.7613, allocations: 379.8 kB / 0.8248 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of SimCode: time 8.82e-07/0.7613, allocations: 0 / 0.8248 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05799/0.8193, allocations: 21.73 MB / 0.846 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.39, allocations: 3.938 kB / 0.846 GB, free: 7.242 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)