Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.001195/0.001195, allocations: 101.7 kB / 16.27 MB, free: 5.93 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.001243/0.001244, allocations: 188.5 kB / 17.2 MB, free: 5.574 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.197/1.197, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6901/0.6901, allocations: 122.8 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.91 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2681, allocations: 77.92 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006265/0.2744, allocations: 7.015 MB / 0.5741 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1356/0.41, allocations: 151.2 MB / 0.7217 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009118/0.411, allocations: 19.94 kB / 0.7218 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006116/0.4117, allocations: 273.2 kB / 0.722 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001819/0.4135, allocations: 0.7671 MB / 0.7228 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001954/0.4155, allocations: 1.012 MB / 0.7238 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001519/0.417, allocations: 2.07 MB / 0.7258 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.4182, allocations: 1.118 MB / 0.7269 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006856/0.4189, allocations: 0.8098 MB / 0.7277 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007608/0.4196, allocations: 0.887 MB / 0.7285 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00024/0.4199, allocations: 220 kB / 0.7287 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007782/0.4207, allocations: 0.5465 MB / 0.7293 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003494/0.421, allocations: 494.5 kB / 0.7297 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007197/0.4218, allocations: 0.9759 MB / 0.7307 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.4238, allocations: 2.613 MB / 0.7333 GB, free: 224 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.4238, allocations: 4 kB / 0.7333 GB, free: 220 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4238, allocations: 0 / 0.7333 GB, free: 220 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.738e-05/0.4238, allocations: 4 kB / 0.7333 GB, free: 216 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003163/0.427, allocations: 2.048 MB / 0.7353 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.427, allocations: 12.62 kB / 0.7353 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002284/0.4273, allocations: 224.2 kB / 0.7355 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009495/0.4282, allocations: 254.6 kB / 0.7357 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.4294, allocations: 0.977 MB / 0.7367 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.4295, allocations: 156.8 kB / 0.7368 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.4297, allocations: 152 kB / 0.737 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/0.432, allocations: 1.589 MB / 0.7385 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.432, allocations: 0 / 0.7385 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.4322, allocations: 68 kB / 0.7386 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/0.4322, allocations: 39.94 kB / 0.7386 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002342/0.4345, allocations: 1.588 MB / 0.7402 GB, free: 8.938 MB / 0.5762 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.005787/0.4403, allocations: 4.743 MB / 0.7448 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/0.4421, allocations: 1.09 MB / 0.7459 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006825/0.4428, allocations: 432.4 kB / 0.7463 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.421e-05/0.4429, allocations: 41.02 kB / 0.7463 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001116/0.444, allocations: 0.7061 MB / 0.747 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=111): time 2.505e-06/0.444, allocations: 0 / 0.747 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=111): time 0.003664/0.4477, allocations: 1.653 MB / 0.7486 GB, free: 44 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1834/0.6311, allocations: 197.8 kB / 0.7488 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.6323, allocations: 0.8405 MB / 0.7496 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001926/0.6325, allocations: 49.81 kB / 0.7497 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003847/0.6329, allocations: 0.6223 MB / 0.7503 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.6331, allocations: 352.7 kB / 0.7506 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003008/0.6334, allocations: 212.4 kB / 0.7508 GB, free: 170 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.232e-05/0.6335, allocations: 344.2 kB / 0.7512 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007031/0.6342, allocations: 381.6 kB / 0.7515 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000784/0.635, allocations: 0.5062 MB / 0.752 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/0.6364, allocations: 0.8567 MB / 0.7529 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.6364, allocations: 2.594 kB / 0.7529 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002352/0.6388, allocations: 1.154 MB / 0.754 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.6388, allocations: 5.969 kB / 0.754 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.6388, allocations: 3.5 kB / 0.754 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005702/0.6394, allocations: 85.69 kB / 0.7541 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008905/0.6403, allocations: 221.1 kB / 0.7543 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.642, allocations: 1.653 MB / 0.7559 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008491/0.6429, allocations: 133.7 kB / 0.756 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.445e-05/0.643, allocations: 46.45 kB / 0.7561 GB, free: 166.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 (HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 126 * 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.0004741/0.6435, allocations: 349 kB / 0.7564 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.6437, allocations: 108.1 kB / 0.7565 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003089/0.6468, allocations: 1.537 MB / 0.758 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.6468, allocations: 12.19 kB / 0.758 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.6468, allocations: 4.219 kB / 0.758 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.6468, allocations: 5.906 kB / 0.758 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.6481, allocations: 1.376 MB / 0.7594 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.6481, allocations: 0.5 kB / 0.7594 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007715/0.6489, allocations: 199 kB / 0.7596 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004133/0.6493, allocations: 77.19 kB / 0.7596 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.716e-05/0.6494, allocations: 34.75 kB / 0.7597 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/0.6508, allocations: 1.67 MB / 0.7613 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6509, allocations: 1.438 kB / 0.7613 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/0.6531, allocations: 1.282 MB / 0.7626 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003817/0.6535, allocations: 365.6 kB / 0.7629 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.6537, allocations: 37.95 kB / 0.7629 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000826/0.6545, allocations: 79.91 kB / 0.763 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/0.6547, allocations: 100 kB / 0.7631 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.304e-05/0.6548, allocations: 50.45 kB / 0.7632 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006871/0.6555, allocations: 0.62 MB / 0.7638 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6555, allocations: 3.938 kB / 0.7638 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009254/0.6564, allocations: 474.5 kB / 0.7642 GB, free: 162.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003441/0.6599, allocations: 2.353 MB / 0.7665 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003/0.6629, allocations: 1.395 MB / 0.7679 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6629, allocations: 1.094 kB / 0.7679 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009923/0.6639, allocations: 0.6858 MB / 0.7686 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.6651, allocations: 346.2 kB / 0.7689 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.6762, allocations: 9.164 MB / 0.7778 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.6767, allocations: 1.222 MB / 0.779 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008315/0.6775, allocations: 314.9 kB / 0.7793 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006048/0.6781, allocations: 0.6155 MB / 0.7799 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.6781, allocations: 3.172 kB / 0.7799 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0429/0.7211, allocations: 29.03 MB / 0.8083 GB, free: 125.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/11.06, allocations: 10.33 kB / 0.8083 GB, free: 125.3 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)