Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",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.00124/0.00124, allocations: 102.9 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.001359/0.001359, allocations: 190.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.233/1.233, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7034/0.7034, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.89 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2785, allocations: 77.91 MB / 0.5673 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.0048/0.2834, allocations: 4.677 MB / 0.5718 GB, free: 29.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1356/0.419, allocations: 150.6 MB / 0.7189 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.4201, allocations: 15.94 kB / 0.7189 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007785/0.421, allocations: 190.2 kB / 0.7191 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001992/0.423, allocations: 0.5323 MB / 0.7196 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002145/0.4251, allocations: 0.8417 MB / 0.7204 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001356/0.4265, allocations: 1.37 MB / 0.7218 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007218/0.4272, allocations: 0.5312 MB / 0.7223 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006145/0.4278, allocations: 478.3 kB / 0.7228 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005695/0.4284, allocations: 497.9 kB / 0.7232 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001829/0.4286, allocations: 112 kB / 0.7233 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.4299, allocations: 0.8543 MB / 0.7242 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002438/0.4302, allocations: 279.1 kB / 0.7244 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004859/0.4307, allocations: 0.5363 MB / 0.725 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001838/0.4325, allocations: 1.749 MB / 0.7267 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4325, allocations: 0 / 0.7267 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4325, allocations: 4 kB / 0.7267 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.243e-05/0.4326, allocations: 0 / 0.7267 GB, free: 7.012 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002549/0.4351, allocations: 1.458 MB / 0.7281 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.4352, allocations: 8.625 kB / 0.7281 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001393/0.4353, allocations: 122.8 kB / 0.7282 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.4365, allocations: 207.4 kB / 0.7284 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.4375, allocations: 0.7466 MB / 0.7292 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.67e-05/0.4375, allocations: 54 kB / 0.7292 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.4377, allocations: 72 kB / 0.7293 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.4392, allocations: 0.8958 MB / 0.7301 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.4392, allocations: 0 / 0.7301 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.608e-05/0.4393, allocations: 32 kB / 0.7302 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.4393, allocations: 23.94 kB / 0.7302 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.4412, allocations: 1.132 MB / 0.7313 GB, free: 2.121 MB / 0.5606 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.003667/0.4449, allocations: 2.605 MB / 0.7338 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.4465, allocations: 0.8274 MB / 0.7347 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006765/0.4472, allocations: 331.8 kB / 0.735 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.841e-05/0.4472, allocations: 40.53 kB / 0.735 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009761/0.4482, allocations: 0.528 MB / 0.7355 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 3.116e-06/0.4482, allocations: 0 / 0.7355 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.003501/0.4518, allocations: 1.287 MB / 0.7368 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.305e-05/0.4519, allocations: 192.5 kB / 0.737 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007844/0.4526, allocations: 0.6412 MB / 0.7376 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.697e-05/0.4527, allocations: 41.7 kB / 0.7376 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002952/0.453, allocations: 384.4 kB / 0.738 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.4532, allocations: 268.2 kB / 0.7383 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002269/0.4535, allocations: 150.5 kB / 0.7384 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.4536, allocations: 394.7 kB / 0.7388 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006297/0.4542, allocations: 281.8 kB / 0.739 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007288/0.455, allocations: 391.4 kB / 0.7394 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.4563, allocations: 0.6471 MB / 0.74 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.4563, allocations: 0 / 0.74 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002145/0.4585, allocations: 0.8682 MB / 0.7409 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.4585, allocations: 8 kB / 0.7409 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4585, allocations: 3.938 kB / 0.7409 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005868/0.4591, allocations: 84.89 kB / 0.741 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006955/0.4598, allocations: 163.8 kB / 0.7411 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/0.4618, allocations: 1.648 MB / 0.7428 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007257/0.4625, allocations: 95.34 kB / 0.7428 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.318e-05/0.4626, allocations: 35.97 kB / 0.7429 GB, free: 5.824 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: 15 (weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.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 (89): * Single equations (assignments): 88 * 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.0003834/0.463, allocations: 271.4 kB / 0.7431 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.4632, allocations: 86.97 kB / 0.7432 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002803/0.466, allocations: 1.198 MB / 0.7444 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.466, allocations: 12 kB / 0.7444 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.466, allocations: 0 / 0.7444 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.466, allocations: 11.91 kB / 0.7444 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009559/0.467, allocations: 0.9191 MB / 0.7453 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.467, allocations: 3.938 kB / 0.7453 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006404/0.4676, allocations: 163.8 kB / 0.7455 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004244/0.4681, allocations: 80.77 kB / 0.7455 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.565e-05/0.4681, allocations: 23.98 kB / 0.7456 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/0.4699, allocations: 1.67 MB / 0.7472 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4699, allocations: 3.938 kB / 0.7472 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/0.472, allocations: 1.002 MB / 0.7482 GB, free: 152 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1951/0.6671, allocations: 286.9 kB / 0.7485 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000181/0.6673, allocations: 20.78 kB / 0.7485 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007414/0.6681, allocations: 71.44 kB / 0.7485 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001918/0.6683, allocations: 75 kB / 0.7486 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.151e-05/0.6684, allocations: 37.2 kB / 0.7487 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006139/0.669, allocations: 474.1 kB / 0.7491 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.669, allocations: 0 / 0.7491 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008461/0.6698, allocations: 314.4 kB / 0.7494 GB, free: 170.8 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 5 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * 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.003565/0.6734, allocations: 2.069 MB / 0.7514 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002613/0.676, allocations: 1.079 MB / 0.7525 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6761, allocations: 0.625 kB / 0.7525 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.6771, allocations: 0.555 MB / 0.753 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.6783, allocations: 316.2 kB / 0.7533 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.6885, allocations: 6.598 MB / 0.7598 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000583/0.6892, allocations: 1.016 MB / 0.7608 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001019/0.6902, allocations: 280.7 kB / 0.761 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004814/0.6907, allocations: 379.7 kB / 0.7614 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/0.6907, allocations: 0 / 0.7614 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04375/0.7344, allocations: 22.17 MB / 0.783 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.46, allocations: 13.28 kB / 0.7831 GB, free: 151.5 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)