Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_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.0008613/0.0008613, allocations: 98.66 kB / 16.02 MB, free: 80 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.0009088/0.0009087, allocations: 179.2 kB / 16.92 MB, free: 6.922 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.203/1.203, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6206/0.6206, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002782/0.0002782, allocations: 11.98 kB / 496 MB, free: 6.281 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1211, allocations: 77.54 MB / 0.56 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004789/0.1259, allocations: 4.524 MB / 0.5645 GB, free: 4.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3421/0.468, allocations: 146.9 MB / 0.7079 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000627/0.4687, allocations: 15.94 kB / 0.7079 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005247/0.4692, allocations: 146.8 kB / 0.7081 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.4708, allocations: 494.1 kB / 0.7086 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.4723, allocations: 0.7398 MB / 0.7093 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001356/0.4737, allocations: 1.358 MB / 0.7106 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007874/0.4745, allocations: 0.5604 MB / 0.7111 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005331/0.475, allocations: 378.2 kB / 0.7115 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004882/0.4755, allocations: 417.8 kB / 0.7119 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.105e-05/0.4756, allocations: 28 kB / 0.7119 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006263/0.4762, allocations: 371.6 kB / 0.7123 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.4764, allocations: 203 kB / 0.7125 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003845/0.4768, allocations: 0.4948 MB / 0.713 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.4781, allocations: 1.542 MB / 0.7145 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4781, allocations: 4 kB / 0.7145 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4781, allocations: 0 / 0.7145 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.168e-06/0.4781, allocations: 0 / 0.7145 GB, free: 8.473 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002057/0.4802, allocations: 1.27 MB / 0.7157 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.4802, allocations: 8.031 kB / 0.7157 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/0.4804, allocations: 139.7 kB / 0.7159 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008056/0.4812, allocations: 207.3 kB / 0.7161 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008918/0.4821, allocations: 0.7508 MB / 0.7168 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.461e-05/0.4822, allocations: 66 kB / 0.7168 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.4823, allocations: 84 kB / 0.7169 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.4837, allocations: 0.9801 MB / 0.7179 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.4838, allocations: 4 kB / 0.7179 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.963e-05/0.4838, allocations: 36 kB / 0.7179 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.4839, allocations: 24 kB / 0.7179 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.4855, allocations: 1.167 MB / 0.7191 GB, free: 3.613 MB / 0.5294 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.003635/0.4892, allocations: 2.912 MB / 0.7219 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.4906, allocations: 0.8565 MB / 0.7228 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005266/0.4911, allocations: 322.7 kB / 0.7231 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.398e-05/0.4912, allocations: 36.67 kB / 0.7231 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008179/0.4921, allocations: 0.5432 MB / 0.7236 GB, free: 14.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=88): time 2.124e-06/0.4921, allocations: 0 / 0.7236 GB, free: 14.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=88): time 0.003027/0.4951, allocations: 1.309 MB / 0.7249 GB, free: 13.47 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.978e-05/0.4952, allocations: 196.8 kB / 0.7251 GB, free: 13.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006806/0.4959, allocations: 0.649 MB / 0.7257 GB, free: 12.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.206e-05/0.496, allocations: 41.7 kB / 0.7258 GB, free: 12.53 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000262/0.4962, allocations: 412.4 kB / 0.7262 GB, free: 12.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.4964, allocations: 283.9 kB / 0.7264 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.932e-05/0.4965, allocations: 65.67 kB / 0.7265 GB, free: 11.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4967, allocations: 390.8 kB / 0.7269 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005111/0.4972, allocations: 277.8 kB / 0.7271 GB, free: 11.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005769/0.4978, allocations: 386.5 kB / 0.7275 GB, free: 10.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.4988, allocations: 0.6476 MB / 0.7281 GB, free: 10.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4989, allocations: 0 / 0.7281 GB, free: 10.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001767/0.5006, allocations: 0.8799 MB / 0.729 GB, free: 9.148 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.5006, allocations: 11.94 kB / 0.729 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.5007, allocations: 0 / 0.729 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005503/0.5012, allocations: 80.84 kB / 0.7291 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006384/0.5019, allocations: 179.6 kB / 0.7293 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001726/0.5036, allocations: 1.522 MB / 0.7307 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006469/0.5043, allocations: 109 kB / 0.7309 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/0.5043, allocations: 35.97 kB / 0.7309 GB, free: 7.074 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (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 (97): * Single equations (assignments): 96 * 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.0003229/0.5047, allocations: 269.6 kB / 0.7311 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.5048, allocations: 82.97 kB / 0.7312 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/0.5071, allocations: 1.186 MB / 0.7324 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.5072, allocations: 11.94 kB / 0.7324 GB, free: 5.512 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5072, allocations: 3.938 kB / 0.7324 GB, free: 5.508 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.5072, allocations: 3.984 kB / 0.7324 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009174/0.5081, allocations: 0.9433 MB / 0.7333 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5081, allocations: 0 / 0.7333 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005826/0.5087, allocations: 159.7 kB / 0.7335 GB, free: 4.355 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004835/0.5092, allocations: 84.77 kB / 0.7336 GB, free: 4.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.228e-05/0.5093, allocations: 27.97 kB / 0.7336 GB, free: 4.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/0.5109, allocations: 1.556 MB / 0.7351 GB, free: 2.547 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5109, allocations: 0 / 0.7351 GB, free: 2.547 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.5127, allocations: 1.01 MB / 0.7361 GB, free: 1.516 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003202/0.5131, allocations: 291.6 kB / 0.7364 GB, free: 1.211 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.5132, allocations: 23.98 kB / 0.7364 GB, free: 1.188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006648/0.5139, allocations: 94.88 kB / 0.7365 GB, free: 1.098 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.514, allocations: 72.89 kB / 0.7365 GB, free: 1.023 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-05/0.5141, allocations: 43.97 kB / 0.7366 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005058/0.5146, allocations: 479 kB / 0.737 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5146, allocations: 0 / 0.737 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006712/0.5153, allocations: 331.3 kB / 0.7374 GB, free: 196 kB / 0.545 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * 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.003187/0.5185, allocations: 2.066 MB / 0.7394 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001472/0.52, allocations: 0.8624 MB / 0.7402 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.52, allocations: 4 kB / 0.7402 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008824/0.5209, allocations: 0.5434 MB / 0.7408 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.522, allocations: 283.9 kB / 0.741 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.5325, allocations: 7.211 MB / 0.7481 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.5331, allocations: 1.04 MB / 0.7491 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007278/0.5338, allocations: 267.2 kB / 0.7493 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005294/0.5343, allocations: 407.3 kB / 0.7497 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.5343, allocations: 0 / 0.7497 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5688/1.103, allocations: 21.32 MB / 0.7705 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002573/1.103, allocations: 320.1 kB / 0.7709 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.236/3.34, allocations: 2.953 kB / 0.7709 GB, free: 14.18 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)