Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="BuildingSystems_BuildingSystems_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.004488/0.004493, allocations: 101.2 kB / 15.73 MB, free: 6.023 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.001129/0.001129, allocations: 199 kB / 16.68 MB, free: 5.938 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.193/1.193, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002002/0.002002, allocations: 296.2 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8602/0.8602, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 99.83 kB / 0.6809 GB, free: 7.512 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3318, allocations: 86.97 MB / 0.7659 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005294/0.3371, allocations: 4.435 MB / 0.7702 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1353/0.4724, allocations: 150.6 MB / 0.9172 GB, free: 8.262 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005887/0.473, allocations: 11.94 kB / 0.9173 GB, free: 8.25 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005348/0.4736, allocations: 178.3 kB / 0.9174 GB, free: 8.074 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.4751, allocations: 0.513 MB / 0.9179 GB, free: 7.562 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.4768, allocations: 0.8289 MB / 0.9187 GB, free: 6.738 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001272/0.478, allocations: 1.358 MB / 0.9201 GB, free: 5.375 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007101/0.4788, allocations: 0.5622 MB / 0.9206 GB, free: 4.789 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005706/0.4793, allocations: 474.3 kB / 0.9211 GB, free: 4.324 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005418/0.4799, allocations: 493.8 kB / 0.9215 GB, free: 3.84 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001565/0.4801, allocations: 112 kB / 0.9216 GB, free: 3.73 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.4813, allocations: 0.8699 MB / 0.9225 GB, free: 2.859 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002419/0.4815, allocations: 283.1 kB / 0.9228 GB, free: 2.582 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004583/0.482, allocations: 0.5324 MB / 0.9233 GB, free: 2.047 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001821/0.4838, allocations: 1.78 MB / 0.925 GB, free: 272 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4838, allocations: 4 kB / 0.925 GB, free: 268 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4838, allocations: 0 / 0.925 GB, free: 268 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.28e-05/0.4839, allocations: 0 / 0.925 GB, free: 268 kB / 0.6856 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.002416/0.4863, allocations: 1.487 MB / 0.9265 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.4863, allocations: 8.031 kB / 0.9265 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/0.4865, allocations: 130.8 kB / 0.9266 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.4875, allocations: 208 kB / 0.9268 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.4886, allocations: 0.7746 MB / 0.9276 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.638e-05/0.4887, allocations: 58 kB / 0.9276 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.4888, allocations: 72 kB / 0.9277 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.4903, allocations: 0.8919 MB / 0.9286 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.4903, allocations: 0 / 0.9286 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.529e-05/0.4904, allocations: 32 kB / 0.9286 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.4904, allocations: 20 kB / 0.9286 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/0.4922, allocations: 1.132 MB / 0.9297 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003478/0.4957, allocations: 2.485 MB / 0.9321 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.4972, allocations: 0.8313 MB / 0.933 GB, free: 7.914 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000639/0.4979, allocations: 334.6 kB / 0.9333 GB, free: 7.586 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.75e-05/0.498, allocations: 32.55 kB / 0.9333 GB, free: 7.555 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009461/0.4989, allocations: 0.5303 MB / 0.9338 GB, free: 7.004 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 1.854e-06/0.4989, allocations: 0 / 0.9338 GB, free: 7.004 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003321/0.5023, allocations: 1.299 MB / 0.9351 GB, free: 5.676 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.619e-05/0.5023, allocations: 192.5 kB / 0.9353 GB, free: 5.445 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006801/0.503, allocations: 0.6411 MB / 0.9359 GB, free: 4.801 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.587e-05/0.5031, allocations: 41.7 kB / 0.9359 GB, free: 4.754 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.5034, allocations: 393 kB / 0.9363 GB, free: 4.363 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/0.5036, allocations: 269.7 kB / 0.9366 GB, free: 4.098 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.5038, allocations: 154.6 kB / 0.9367 GB, free: 3.941 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.5039, allocations: 398.7 kB / 0.9371 GB, free: 3.543 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006148/0.5046, allocations: 277.8 kB / 0.9374 GB, free: 3.273 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007254/0.5053, allocations: 395.4 kB / 0.9377 GB, free: 2.855 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.5066, allocations: 0.647 MB / 0.9384 GB, free: 2.199 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.5066, allocations: 0 / 0.9384 GB, free: 2.199 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002039/0.5087, allocations: 0.8764 MB / 0.9392 GB, free: 1.312 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.5087, allocations: 8.125 kB / 0.9392 GB, free: 1.305 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5087, allocations: 4 kB / 0.9392 GB, free: 1.301 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005374/0.5092, allocations: 80.77 kB / 0.9393 GB, free: 1.219 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006792/0.5099, allocations: 167.8 kB / 0.9395 GB, free: 1.055 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.5118, allocations: 1.642 MB / 0.9411 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006594/0.5125, allocations: 99.48 kB / 0.9412 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.873e-05/0.5125, allocations: 35.91 kB / 0.9412 GB, free: 15.14 MB / 0.7169 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.0003198/0.5129, allocations: 263.4 kB / 0.9415 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.513, allocations: 99.42 kB / 0.9416 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002629/0.5157, allocations: 1.202 MB / 0.9427 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.5157, allocations: 12 kB / 0.9427 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.5157, allocations: 0 / 0.9427 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.5157, allocations: 7.922 kB / 0.9427 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008878/0.5166, allocations: 0.9193 MB / 0.9436 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5166, allocations: 0 / 0.9436 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006487/0.5173, allocations: 155.8 kB / 0.9438 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004016/0.5177, allocations: 72.78 kB / 0.9439 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-05/0.5177, allocations: 35.97 kB / 0.9439 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/0.5194, allocations: 1.666 MB / 0.9455 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5194, allocations: 8 kB / 0.9455 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/0.5215, allocations: 1.002 MB / 0.9465 GB, free: 9.453 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003425/0.5218, allocations: 292.1 kB / 0.9468 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.522, allocations: 16 kB / 0.9468 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006359/0.5226, allocations: 75.98 kB / 0.9469 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.5227, allocations: 80.83 kB / 0.947 GB, free: 8.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-05/0.5228, allocations: 39.97 kB / 0.947 GB, free: 8.941 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004996/0.5233, allocations: 467 kB / 0.9474 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5233, allocations: 0 / 0.9474 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006823/0.524, allocations: 319.2 kB / 0.9477 GB, free: 8.18 MB / 0.7169 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.003421/0.5274, allocations: 2.081 MB / 0.9498 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001733/0.5292, allocations: 0.8741 MB / 0.9506 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5292, allocations: 0 / 0.9506 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009989/0.5302, allocations: 0.559 MB / 0.9512 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.5313, allocations: 306 kB / 0.9515 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.269/0.8003, allocations: 6.484 MB / 0.9578 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/0.8009, allocations: 1.022 MB / 0.9588 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009151/0.8018, allocations: 278.5 kB / 0.9591 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005229/0.8023, allocations: 381.6 kB / 0.9594 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of SimCode: time 6.61e-07/0.8023, allocations: 0 / 0.9594 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04039/0.8427, allocations: 22.18 MB / 0.9811 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/12.08, allocations: 7.609 kB / 0.9811 GB, free: 171.8 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)