Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.001347/0.001347, allocations: 103.4 kB / 16.4 MB, free: 6.48 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.001159/0.001159, allocations: 193.2 kB / 17.34 MB, free: 5.75 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7398/0.7398, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 70.34 kB / 0.5572 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1481, allocations: 76.18 MB / 0.6316 GB, free: 4.941 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008294/0.1565, allocations: 6.904 MB / 0.6383 GB, free: 14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5379/0.6944, allocations: 151.3 MB / 0.786 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.6961, allocations: 18.25 kB / 0.786 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.6972, allocations: 262.5 kB / 0.7863 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002965/0.7002, allocations: 0.7966 MB / 0.7871 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002599/0.7028, allocations: 0.9929 MB / 0.788 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003142/0.706, allocations: 2.147 MB / 0.7901 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001654/0.7076, allocations: 1.02 MB / 0.7911 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001835/0.7095, allocations: 0.8484 MB / 0.792 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001618/0.7111, allocations: 0.9103 MB / 0.7928 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004956/0.7116, allocations: 206.6 kB / 0.793 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.7132, allocations: 0.5597 MB / 0.7936 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004717/0.7137, allocations: 489.4 kB / 0.7941 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.7149, allocations: 0.951 MB / 0.795 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0036/0.7185, allocations: 2.573 MB / 0.7975 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.7185, allocations: 0 / 0.7975 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.715e-06/0.7185, allocations: 4 kB / 0.7975 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.467e-05/0.7186, allocations: 0 / 0.7975 GB, free: 11.88 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.005626/0.7242, allocations: 2.063 MB / 0.7995 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.7243, allocations: 14.25 kB / 0.7995 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003367/0.7246, allocations: 225.2 kB / 0.7997 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.726, allocations: 256 kB / 0.8 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002025/0.7281, allocations: 0.9946 MB / 0.801 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.7282, allocations: 119.7 kB / 0.8011 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002343/0.7284, allocations: 152.1 kB / 0.8012 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003014/0.7315, allocations: 1.585 MB / 0.8028 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.628e-05/0.7315, allocations: 6.453 kB / 0.8028 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/0.7317, allocations: 60.47 kB / 0.8028 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.072e-05/0.7317, allocations: 37.34 kB / 0.8029 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003007/0.7347, allocations: 1.633 MB / 0.8045 GB, free: 9.391 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.008463/0.7432, allocations: 4.527 MB / 0.8089 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002276/0.7455, allocations: 1.186 MB / 0.81 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008464/0.7464, allocations: 485.5 kB / 0.8105 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.7465, allocations: 51.12 kB / 0.8106 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001363/0.7479, allocations: 0.7787 MB / 0.8113 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=128): time 3.146e-06/0.7479, allocations: 0 / 0.8113 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of matching and sorting (n=128): time 0.004661/0.7526, allocations: 1.84 MB / 0.8131 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.7527, allocations: 197.9 kB / 0.8133 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.754, allocations: 0.8691 MB / 0.8141 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002162/0.7542, allocations: 53.5 kB / 0.8142 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004955/0.7547, allocations: 0.6063 MB / 0.8148 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000417/0.7552, allocations: 408.3 kB / 0.8152 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003942/0.7556, allocations: 241.1 kB / 0.8154 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.7557, allocations: 352.3 kB / 0.8157 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008502/0.7566, allocations: 431.9 kB / 0.8162 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.7576, allocations: 0.5657 MB / 0.8167 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/0.7594, allocations: 0.9608 MB / 0.8176 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.7594, allocations: 3.75 kB / 0.8177 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003026/0.7625, allocations: 1.29 MB / 0.8189 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.7625, allocations: 9.688 kB / 0.8189 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.7625, allocations: 0 / 0.8189 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006431/0.7632, allocations: 89.39 kB / 0.819 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.7644, allocations: 262 kB / 0.8193 GB, free: 452 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/0.7667, allocations: 1.643 MB / 0.8209 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.7681, allocations: 143.8 kB / 0.821 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.7683, allocations: 56.58 kB / 0.8211 GB, free: 14.72 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 30 (incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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.0007643/0.7691, allocations: 347.2 kB / 0.8214 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/0.7694, allocations: 122 kB / 0.8215 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004002/0.7734, allocations: 1.707 MB / 0.8232 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.7734, allocations: 15.09 kB / 0.8232 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.7734, allocations: 0 / 0.8232 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/0.7735, allocations: 3.984 kB / 0.8232 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002203/0.7757, allocations: 1.419 MB / 0.8246 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.7757, allocations: 3.938 kB / 0.8246 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.7767, allocations: 212.8 kB / 0.8248 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000542/0.7773, allocations: 80.69 kB / 0.8249 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001905/0.7775, allocations: 42.08 kB / 0.8249 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/0.7796, allocations: 1.676 MB / 0.8265 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.7796, allocations: 3.938 kB / 0.8265 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0033/0.7829, allocations: 1.405 MB / 0.8279 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007769/0.7837, allocations: 378.4 kB / 0.8283 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003464/0.7841, allocations: 45.78 kB / 0.8283 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.7853, allocations: 80.5 kB / 0.8284 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002554/0.7855, allocations: 109.3 kB / 0.8285 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/0.7857, allocations: 57.27 kB / 0.8285 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001088/0.7868, allocations: 0.6462 MB / 0.8292 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7868, allocations: 4 kB / 0.8292 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001479/0.7883, allocations: 487.8 kB / 0.8296 GB, free: 8.961 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.005125/0.7934, allocations: 2.475 MB / 0.8321 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002935/0.7964, allocations: 1.247 MB / 0.8333 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.7964, allocations: 0 / 0.8333 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001607/0.798, allocations: 0.7365 MB / 0.834 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/0.8001, allocations: 354.2 kB / 0.8343 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0196/0.8198, allocations: 9.282 MB / 0.8434 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009778/0.8208, allocations: 1.236 MB / 0.8446 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0014/0.8222, allocations: 338.1 kB / 0.8449 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/0.8233, allocations: 0.6242 MB / 0.8455 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of SimCode: time 1.683e-06/0.8233, allocations: 0 / 0.8455 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06971/0.893, allocations: 31.82 MB / 0.8766 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.53/15.43, allocations: 6.578 kB / 0.8766 GB, free: 9.262 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)