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.001007/0.001007, allocations: 107.6 kB / 15.99 MB, free: 6.348 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.0009816/0.0009816, allocations: 198.1 kB / 16.91 MB, free: 6.191 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.21/1.21, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6725/0.6725, allocations: 115.3 MB / 406.1 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 71.88 kB / 493.2 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2691, allocations: 76.16 MB / 0.556 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004628/0.2738, allocations: 4.687 MB / 0.5606 GB, free: 32.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1292/0.403, allocations: 148.4 MB / 0.7055 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007779/0.4038, allocations: 15.94 kB / 0.7055 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006129/0.4045, allocations: 146.8 kB / 0.7056 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001701/0.4062, allocations: 477.1 kB / 0.7061 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.408, allocations: 0.7563 MB / 0.7068 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001391/0.4094, allocations: 1.378 MB / 0.7082 GB, free: 8.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007222/0.4101, allocations: 0.5278 MB / 0.7087 GB, free: 7.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005969/0.4107, allocations: 478.3 kB / 0.7092 GB, free: 7.301 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005733/0.4113, allocations: 0.4939 MB / 0.7096 GB, free: 6.805 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000169/0.4115, allocations: 112 kB / 0.7097 GB, free: 6.695 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.4127, allocations: 0.8504 MB / 0.7106 GB, free: 5.844 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002462/0.413, allocations: 287 kB / 0.7108 GB, free: 5.562 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004818/0.4135, allocations: 0.5363 MB / 0.7114 GB, free: 5.023 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.4153, allocations: 1.749 MB / 0.7131 GB, free: 3.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.4153, allocations: 4 kB / 0.7131 GB, free: 3.266 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4153, allocations: 0 / 0.7131 GB, free: 3.266 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.02e-05/0.4154, allocations: 0 / 0.7131 GB, free: 3.266 MB / 0.545 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.00252/0.4179, allocations: 1.462 MB / 0.7145 GB, free: 1.754 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.4179, allocations: 8.031 kB / 0.7145 GB, free: 1.746 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001388/0.4181, allocations: 122.8 kB / 0.7146 GB, free: 1.617 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.4192, allocations: 207.4 kB / 0.7148 GB, free: 1.414 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009452/0.4202, allocations: 0.735 MB / 0.7156 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.746e-05/0.4202, allocations: 61.94 kB / 0.7156 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.991e-05/0.4203, allocations: 72 kB / 0.7157 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.4219, allocations: 0.8996 MB / 0.7166 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.4219, allocations: 4 kB / 0.7166 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.357e-05/0.422, allocations: 32 kB / 0.7166 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.4221, allocations: 16 kB / 0.7166 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/0.424, allocations: 1.128 MB / 0.7177 GB, free: 14.38 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.003664/0.4277, allocations: 2.601 MB / 0.7202 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.4292, allocations: 0.8366 MB / 0.7211 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006635/0.4299, allocations: 330.6 kB / 0.7214 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.126e-05/0.43, allocations: 40.53 kB / 0.7214 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.431, allocations: 0.5328 MB / 0.7219 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.013e-06/0.431, allocations: 0 / 0.7219 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.003451/0.4345, allocations: 1.287 MB / 0.7232 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.316e-05/0.4346, allocations: 188.6 kB / 0.7234 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00069/0.4353, allocations: 0.6412 MB / 0.724 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.865e-05/0.4353, allocations: 41.7 kB / 0.724 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.4356, allocations: 380.5 kB / 0.7244 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.4358, allocations: 272.1 kB / 0.7247 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.436, allocations: 150.6 kB / 0.7248 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4362, allocations: 394.7 kB / 0.7252 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006384/0.4368, allocations: 277.8 kB / 0.7254 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007346/0.4375, allocations: 395.3 kB / 0.7258 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.4389, allocations: 0.651 MB / 0.7265 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4389, allocations: 0 / 0.7265 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0021/0.441, allocations: 0.8721 MB / 0.7273 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.441, allocations: 9.406 kB / 0.7273 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.441, allocations: 0 / 0.7273 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006096/0.4416, allocations: 84.89 kB / 0.7274 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006995/0.4424, allocations: 159.8 kB / 0.7276 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/0.4443, allocations: 1.65 MB / 0.7292 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006872/0.445, allocations: 95.34 kB / 0.7293 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.585e-05/0.4451, allocations: 32.03 kB / 0.7293 GB, free: 2.082 MB / 0.5606 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.0003451/0.4455, allocations: 279.6 kB / 0.7296 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.4456, allocations: 86.95 kB / 0.7296 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002809/0.4484, allocations: 1.198 MB / 0.7308 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.4484, allocations: 8 kB / 0.7308 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.4485, allocations: 0 / 0.7308 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.4485, allocations: 7.922 kB / 0.7308 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009126/0.4494, allocations: 0.9152 MB / 0.7317 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.4494, allocations: 0 / 0.7317 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006695/0.4501, allocations: 163.8 kB / 0.7319 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004449/0.4505, allocations: 76.72 kB / 0.7319 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.913e-05/0.4506, allocations: 31.97 kB / 0.732 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/0.4523, allocations: 1.674 MB / 0.7336 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4524, allocations: 0 / 0.7336 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/0.4545, allocations: 1.002 MB / 0.7346 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003253/0.4548, allocations: 287.7 kB / 0.7349 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.455, allocations: 23.94 kB / 0.7349 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006738/0.4556, allocations: 74.42 kB / 0.735 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.4558, allocations: 76.89 kB / 0.735 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.936e-05/0.4559, allocations: 35.97 kB / 0.7351 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004914/0.4564, allocations: 467 kB / 0.7355 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4564, allocations: 0 / 0.7355 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006904/0.4571, allocations: 323.4 kB / 0.7358 GB, free: 11.13 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.003527/0.4606, allocations: 2.07 MB / 0.7378 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002483/0.4631, allocations: 1.077 MB / 0.7389 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4631, allocations: 4 kB / 0.7389 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009997/0.4641, allocations: 0.5587 MB / 0.7394 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.4652, allocations: 295.9 kB / 0.7397 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.4768, allocations: 6.97 MB / 0.7465 GB, free: 188 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1776/0.6543, allocations: 1.011 MB / 0.7475 GB, free: 172 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001048/0.6554, allocations: 276.7 kB / 0.7478 GB, free: 172 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000509/0.6559, allocations: 383.1 kB / 0.7481 GB, free: 172 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/0.6559, allocations: 0 / 0.7481 GB, free: 172 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.111/2.767, allocations: 21.96 MB / 0.7696 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/2.767, allocations: 299.3 kB / 0.7699 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.806/5.573, allocations: 1.219 kB / 0.7699 GB, free: 166.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)