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: translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 108.8 kB / 16.4 MB, free: 6.484 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.001514/0.001514, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7291/0.7291, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 69.64 kB / 0.5577 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.16, allocations: 76.17 MB / 0.6321 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006276/0.1664, allocations: 4.776 MB / 0.6367 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5428/0.7091, allocations: 150.6 MB / 0.7838 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007371/0.7099, allocations: 15.03 kB / 0.7838 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005219/0.7104, allocations: 195.1 kB / 0.784 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.712, allocations: 0.5392 MB / 0.7845 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.7137, allocations: 0.8221 MB / 0.7853 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001344/0.7151, allocations: 1.369 MB / 0.7866 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007579/0.7158, allocations: 0.5671 MB / 0.7872 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000648/0.7165, allocations: 491.6 kB / 0.7877 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005146/0.717, allocations: 498.2 kB / 0.7881 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001421/0.7172, allocations: 114.4 kB / 0.7883 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009186/0.7181, allocations: 484.3 kB / 0.7887 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002327/0.7183, allocations: 295.1 kB / 0.789 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004587/0.7188, allocations: 0.5421 MB / 0.7895 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.7204, allocations: 1.609 MB / 0.7911 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.7204, allocations: 0 / 0.7911 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7205, allocations: 4 kB / 0.7911 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.573e-05/0.7205, allocations: 0 / 0.7911 GB, free: 13.2 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.002487/0.723, allocations: 1.412 MB / 0.7925 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.723, allocations: 8 kB / 0.7925 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009076/0.7239, allocations: 187.5 kB / 0.7927 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.725, allocations: 0.7534 MB / 0.7934 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/0.7251, allocations: 61.09 kB / 0.7935 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.148e-05/0.7251, allocations: 84.47 kB / 0.7935 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.7266, allocations: 0.9011 MB / 0.7944 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/0.7266, allocations: 3.938 kB / 0.7944 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-05/0.7267, allocations: 35.56 kB / 0.7945 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.7267, allocations: 20.72 kB / 0.7945 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.7283, allocations: 1.098 MB / 0.7955 GB, free: 11.84 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.003791/0.7321, allocations: 2.656 MB / 0.7981 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.7336, allocations: 0.8741 MB / 0.799 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005111/0.7341, allocations: 298.5 kB / 0.7993 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.924e-05/0.7342, allocations: 31.67 kB / 0.7993 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008625/0.7351, allocations: 485.2 kB / 0.7998 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 2.735e-06/0.7351, allocations: 4 kB / 0.7998 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79): time 0.003024/0.7381, allocations: 1.179 MB / 0.8009 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/0.7383, allocations: 196.3 kB / 0.8011 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008651/0.7391, allocations: 0.6213 MB / 0.8017 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.12e-05/0.7392, allocations: 41.36 kB / 0.8018 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003362/0.7396, allocations: 392.6 kB / 0.8021 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/0.7398, allocations: 254.5 kB / 0.8024 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/0.7401, allocations: 158 kB / 0.8025 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002024/0.7403, allocations: 391.2 kB / 0.8029 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004642/0.7407, allocations: 264.5 kB / 0.8032 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005513/0.7413, allocations: 353 kB / 0.8035 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.7423, allocations: 0.6021 MB / 0.8041 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.7423, allocations: 0 / 0.8041 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001849/0.7442, allocations: 0.8418 MB / 0.8049 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.7442, allocations: 8.094 kB / 0.8049 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.7442, allocations: 0 / 0.8049 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005948/0.7448, allocations: 90.17 kB / 0.805 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005966/0.7454, allocations: 156.9 kB / 0.8051 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/0.7475, allocations: 1.633 MB / 0.8067 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007119/0.7483, allocations: 89.48 kB / 0.8068 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-05/0.7484, allocations: 37.38 kB / 0.8069 GB, free: 6.832 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: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (93): * Single equations (assignments): 92 * 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.0004472/0.7488, allocations: 268.2 kB / 0.8071 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.749, allocations: 90.12 kB / 0.8072 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/0.7511, allocations: 1.05 MB / 0.8082 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.7512, allocations: 7.812 kB / 0.8082 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.7512, allocations: 3.938 kB / 0.8082 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.7512, allocations: 6.672 kB / 0.8082 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00299/0.7542, allocations: 1.907 MB / 0.8101 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.7542, allocations: 4 kB / 0.8101 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005369/0.7547, allocations: 140 kB / 0.8102 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005051/0.7553, allocations: 78.28 kB / 0.8103 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.544e-05/0.7553, allocations: 23.64 kB / 0.8103 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/0.7571, allocations: 1.654 MB / 0.812 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.7571, allocations: 8 kB / 0.812 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.7591, allocations: 0.9819 MB / 0.8129 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003997/0.7595, allocations: 271.1 kB / 0.8132 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.7596, allocations: 21.47 kB / 0.8132 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006292/0.7603, allocations: 61.59 kB / 0.8133 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.7604, allocations: 73.58 kB / 0.8133 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.604e-05/0.7605, allocations: 38.84 kB / 0.8134 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005353/0.761, allocations: 452.5 kB / 0.8138 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.761, allocations: 0 / 0.8138 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009194/0.762, allocations: 319.6 kB / 0.8141 GB, free: 2.387 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.001353/0.7633, allocations: 0.5871 MB / 0.8147 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001671/0.765, allocations: 0.8251 MB / 0.8155 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.765, allocations: 3.938 kB / 0.8155 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008893/0.7659, allocations: 0.5177 MB / 0.816 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.7672, allocations: 295.1 kB / 0.8163 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/0.77, allocations: 1.616 MB / 0.8179 GB, free: 300 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006857/0.7707, allocations: 1.016 MB / 0.8188 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007249/0.7715, allocations: 256 kB / 0.8191 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/0.7717, allocations: 105.9 kB / 0.8192 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of SimCode: time 3.9e-07/0.7717, allocations: 0 / 0.8192 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of Templates: time 0.02803/0.7998, allocations: 15.38 MB / 0.8342 GB, free: 3.977 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (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 & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)