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.0009976/0.0009973, allocations: 101.4 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.001049/0.001049, 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.19/1.19, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6731/0.6731, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 55.91 kB / 0.4912 GB, free: 7.379 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2783, allocations: 77.91 MB / 0.5673 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004794/0.2831, allocations: 4.679 MB / 0.5718 GB, free: 29.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1288/0.4119, allocations: 150.6 MB / 0.7189 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007659/0.4127, allocations: 19.88 kB / 0.7189 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004775/0.4132, allocations: 186.2 kB / 0.7191 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.4147, allocations: 0.5273 MB / 0.7196 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.4163, allocations: 0.8374 MB / 0.7204 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001059/0.4174, allocations: 1.378 MB / 0.7218 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000646/0.4181, allocations: 0.5273 MB / 0.7223 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004667/0.4185, allocations: 482.4 kB / 0.7228 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004706/0.419, allocations: 487.5 kB / 0.7232 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.4192, allocations: 112 kB / 0.7233 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.4203, allocations: 0.8466 MB / 0.7242 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002159/0.4205, allocations: 291 kB / 0.7244 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003931/0.4209, allocations: 0.5324 MB / 0.725 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.4224, allocations: 1.757 MB / 0.7267 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4225, allocations: 4 kB / 0.7267 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4225, allocations: 0 / 0.7267 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.4225, allocations: 0 / 0.7267 GB, free: 7.047 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.002155/0.4246, allocations: 1.45 MB / 0.7281 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.4247, allocations: 12.62 kB / 0.7281 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/0.4248, allocations: 122.8 kB / 0.7282 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.4259, allocations: 211.4 kB / 0.7284 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008545/0.4267, allocations: 0.7428 MB / 0.7291 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.567e-05/0.4268, allocations: 54 kB / 0.7292 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.19e-05/0.4269, allocations: 76 kB / 0.7293 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.4283, allocations: 0.8957 MB / 0.7301 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.4283, allocations: 0 / 0.7301 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.402e-05/0.4284, allocations: 32 kB / 0.7302 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.4284, allocations: 23.94 kB / 0.7302 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.4302, allocations: 1.124 MB / 0.7313 GB, free: 2.164 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.003372/0.4336, allocations: 2.612 MB / 0.7338 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.4351, allocations: 0.8274 MB / 0.7347 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006289/0.4358, allocations: 338.7 kB / 0.735 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.557e-05/0.4358, allocations: 32.55 kB / 0.735 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000942/0.4368, allocations: 0.5231 MB / 0.7355 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 2.004e-06/0.4368, allocations: 4 kB / 0.7355 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.003285/0.4401, allocations: 1.287 MB / 0.7368 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.877e-05/0.4402, allocations: 188.6 kB / 0.737 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006498/0.4408, allocations: 0.6372 MB / 0.7376 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.047e-05/0.4409, allocations: 49.64 kB / 0.7376 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/0.4411, allocations: 384.4 kB / 0.738 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.4413, allocations: 264.2 kB / 0.7383 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.4415, allocations: 154.5 kB / 0.7384 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.4417, allocations: 394.7 kB / 0.7388 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000611/0.4423, allocations: 277.8 kB / 0.739 GB, free: 10 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007025/0.443, allocations: 399.3 kB / 0.7394 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.4443, allocations: 0.6432 MB / 0.74 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4443, allocations: 0 / 0.74 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002011/0.4463, allocations: 0.8682 MB / 0.7409 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.4464, allocations: 4 kB / 0.7409 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4464, allocations: 4 kB / 0.7409 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005557/0.4469, allocations: 84.89 kB / 0.741 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006701/0.4476, allocations: 167.8 kB / 0.7411 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/0.4495, allocations: 1.65 MB / 0.7428 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006593/0.4502, allocations: 99.38 kB / 0.7429 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.437e-05/0.4503, allocations: 35.97 kB / 0.7429 GB, free: 5.855 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.0003245/0.4506, allocations: 263.4 kB / 0.7431 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.4507, allocations: 82.97 kB / 0.7432 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002789/0.4535, allocations: 1.21 MB / 0.7444 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.4536, allocations: 8 kB / 0.7444 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.4536, allocations: 4 kB / 0.7444 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.4536, allocations: 11.92 kB / 0.7444 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009641/0.4546, allocations: 0.9191 MB / 0.7453 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.4546, allocations: 3.938 kB / 0.7453 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006538/0.4552, allocations: 159.8 kB / 0.7455 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004314/0.4557, allocations: 72.78 kB / 0.7455 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.046e-05/0.4557, allocations: 27.97 kB / 0.7456 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/0.4575, allocations: 1.674 MB / 0.7472 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4575, allocations: 0 / 0.7472 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002156/0.4597, allocations: 1.018 MB / 0.7482 GB, free: 176 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2098/0.6695, allocations: 283.4 kB / 0.7485 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002231/0.6697, allocations: 20.91 kB / 0.7485 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007092/0.6705, allocations: 70.36 kB / 0.7486 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/0.6706, allocations: 75.66 kB / 0.7486 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.974e-05/0.6707, allocations: 36.98 kB / 0.7487 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005997/0.6713, allocations: 471.5 kB / 0.7491 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6713, allocations: 1.375 kB / 0.7491 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008283/0.6722, allocations: 317.1 kB / 0.7494 GB, free: 170.7 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.003447/0.6756, allocations: 2.063 MB / 0.7514 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00258/0.6782, allocations: 1.081 MB / 0.7525 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.6782, allocations: 0.5938 kB / 0.7525 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.6793, allocations: 0.5608 MB / 0.753 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.6804, allocations: 301.8 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.00991/0.6903, allocations: 6.594 MB / 0.7598 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.6908, allocations: 1.021 MB / 0.7608 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009108/0.6917, allocations: 277.6 kB / 0.761 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004684/0.6922, allocations: 380.5 kB / 0.7614 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/0.6922, allocations: 0 / 0.7614 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.212/3.904, allocations: 22.18 MB / 0.783 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/17.73, allocations: 11.77 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)