Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_10_Buildings_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.001429/0.001429, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00161/0.00161, allocations: 194.3 kB / 16.14 MB, free: 6.711 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.251/1.251, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.329/2.329, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 71.91 kB / 0.8686 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5078/0.5091, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007255/0.5163, allocations: 6.924 MB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1366/0.653, allocations: 149 MB / 1.169 GB, free: 6.312 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008165/0.6538, allocations: 23.88 kB / 1.169 GB, free: 6.289 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005876/0.6544, allocations: 194.4 kB / 1.169 GB, free: 6.098 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00166/0.6561, allocations: 0.6929 MB / 1.17 GB, free: 5.406 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.6578, allocations: 0.8586 MB / 1.171 GB, free: 4.555 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001522/0.6593, allocations: 2.004 MB / 1.173 GB, free: 2.543 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.6604, allocations: 0.9984 MB / 1.174 GB, free: 1.496 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007277/0.6611, allocations: 0.7314 MB / 1.174 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007379/0.6619, allocations: 0.8439 MB / 1.175 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001794/0.6621, allocations: 112 kB / 1.175 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007506/0.6628, allocations: 459.6 kB / 1.176 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002928/0.6631, allocations: 394.4 kB / 1.176 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006411/0.6638, allocations: 0.8665 MB / 1.177 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.6656, allocations: 2.438 MB / 1.179 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.6656, allocations: 4 kB / 1.179 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.52e-07/0.6657, allocations: 0 / 1.179 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.65e-05/0.6657, allocations: 0 / 1.179 GB, free: 11.65 MB / 0.9356 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.003502/0.6692, allocations: 2.062 MB / 1.181 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.6692, allocations: 11.98 kB / 1.181 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002259/0.6695, allocations: 228 kB / 1.182 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009281/0.6704, allocations: 254.6 kB / 1.182 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.6716, allocations: 0.9731 MB / 1.183 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.118e-05/0.6716, allocations: 119.1 kB / 1.183 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.6718, allocations: 144 kB / 1.183 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/0.6742, allocations: 1.584 MB / 1.185 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.6742, allocations: 3.938 kB / 1.185 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.6743, allocations: 68 kB / 1.185 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/0.6744, allocations: 36 kB / 1.185 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002441/0.6768, allocations: 1.635 MB / 1.186 GB, free: 4.371 MB / 0.9356 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.005899/0.6827, allocations: 4.574 MB / 1.191 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/0.6847, allocations: 1.188 MB / 1.192 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007526/0.6854, allocations: 483.7 kB / 1.192 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-05/0.6856, allocations: 49.06 kB / 1.192 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001241/0.6868, allocations: 0.7743 MB / 1.193 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=128): time 2.415e-06/0.6868, allocations: 4 kB / 1.193 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=128): time 0.004061/0.6909, allocations: 1.842 MB / 1.195 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.767e-05/0.691, allocations: 201.2 kB / 1.195 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009579/0.6919, allocations: 0.8693 MB / 1.196 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.134e-05/0.692, allocations: 49.7 kB / 1.196 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/0.6924, allocations: 0.6093 MB / 1.197 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002804/0.6927, allocations: 418 kB / 1.197 GB, free: 9 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000337/0.6931, allocations: 234.8 kB / 1.197 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.6932, allocations: 353.9 kB / 1.198 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007565/0.6939, allocations: 430.4 kB / 1.198 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000884/0.6948, allocations: 0.5565 MB / 1.199 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/0.6965, allocations: 0.9701 MB / 1.199 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6965, allocations: 0 / 1.199 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002565/0.699, allocations: 1.289 MB / 1.201 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.6991, allocations: 6.5 kB / 1.201 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.6991, allocations: 8.062 kB / 1.201 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005958/0.6997, allocations: 84.83 kB / 1.201 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.7008, allocations: 259.6 kB / 1.201 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.7027, allocations: 1.545 MB / 1.203 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009906/0.7037, allocations: 154.8 kB / 1.203 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.098e-05/0.7038, allocations: 51.95 kB / 1.203 GB, free: 2.891 MB / 0.9512 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.0005403/0.7044, allocations: 351.7 kB / 1.203 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.7046, allocations: 118.7 kB / 1.203 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003566/0.7082, allocations: 1.713 MB / 1.205 GB, free: 0.6953 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.7082, allocations: 20 kB / 1.205 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.7082, allocations: 0 / 1.205 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.7082, allocations: 7.969 kB / 1.205 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.7098, allocations: 1.408 MB / 1.206 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.7098, allocations: 4 kB / 1.206 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009013/0.7107, allocations: 215.6 kB / 1.206 GB, free: 15 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005126/0.7112, allocations: 88.77 kB / 1.207 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.15e-05/0.7113, allocations: 39.97 kB / 1.207 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001755/0.7131, allocations: 1.552 MB / 1.208 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.7131, allocations: 4.125 kB / 1.208 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002659/0.7157, allocations: 1.414 MB / 1.21 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004484/0.7162, allocations: 371.1 kB / 1.21 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.7164, allocations: 43.84 kB / 1.21 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009219/0.7173, allocations: 91.84 kB / 1.21 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/0.7175, allocations: 117.1 kB / 1.21 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.7176, allocations: 55.89 kB / 1.21 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007509/0.7184, allocations: 0.6503 MB / 1.211 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7184, allocations: 0 / 1.211 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00099/0.7194, allocations: 490.5 kB / 1.211 GB, free: 9.914 MB / 0.9669 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.00399/0.7234, allocations: 2.473 MB / 1.214 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002164/0.7256, allocations: 1.236 MB / 1.215 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7256, allocations: 0 / 1.215 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.7268, allocations: 0.7479 MB / 1.216 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.728, allocations: 325.6 kB / 1.216 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/0.7433, allocations: 10.53 MB / 1.226 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007011/0.744, allocations: 1.233 MB / 1.227 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001081/0.7451, allocations: 342.1 kB / 1.228 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008324/0.746, allocations: 0.6203 MB / 1.228 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of SimCode: time 7.62e-07/0.746, allocations: 0 / 1.228 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4186/1.165, allocations: 29.62 MB / 1.257 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/1.165, allocations: 299.8 kB / 1.258 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.502/3.667, allocations: 4.75 kB / 1.258 GB, free: 226.3 MB / 0.9981 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)