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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001352, allocations: 102.5 kB / 16.35 MB, free: 5.879 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.001289/0.001289, allocations: 194.2 kB / 17.3 MB, free: 5.52 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.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003109/0.003109, allocations: 281.8 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9793/0.9793, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 102.8 kB / 0.5966 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2399, allocations: 86.97 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.007195/0.2471, allocations: 4.432 MB / 0.6859 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.7166/0.9638, allocations: 150.6 MB / 0.8329 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.9652, allocations: 23.88 kB / 0.833 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007176/0.966, allocations: 181.3 kB / 0.8331 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002339/0.9684, allocations: 0.4983 MB / 0.8336 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00259/0.971, allocations: 0.8391 MB / 0.8344 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002076/0.9731, allocations: 1.343 MB / 0.8358 GB, free: 424 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.9742, allocations: 0.5618 MB / 0.8363 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.9753, allocations: 474.4 kB / 0.8368 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007344/0.976, allocations: 481.9 kB / 0.8372 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.9762, allocations: 108 kB / 0.8373 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002213/0.9784, allocations: 0.8816 MB / 0.8382 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003513/0.9788, allocations: 287.1 kB / 0.8385 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006472/0.9794, allocations: 0.5129 MB / 0.839 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002842/0.9823, allocations: 1.775 MB / 0.8407 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.9823, allocations: 0 / 0.8407 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.605e-06/0.9823, allocations: 0 / 0.8407 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.645e-05/0.9823, allocations: 0 / 0.8407 GB, free: 11.34 MB / 0.6075 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.002751/0.9851, allocations: 1.451 MB / 0.8421 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.9852, allocations: 8.031 kB / 0.8421 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.9863, allocations: 211.9 kB / 0.8423 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.9878, allocations: 0.7589 MB / 0.8431 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-05/0.9878, allocations: 62 kB / 0.8431 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.9879, allocations: 72 kB / 0.8432 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.9897, allocations: 0.8957 MB / 0.8441 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.9897, allocations: 3.75 kB / 0.8441 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.181e-05/0.9898, allocations: 35.94 kB / 0.8441 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.9898, allocations: 20 kB / 0.8441 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.9918, allocations: 1.132 MB / 0.8452 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004195/0.996, allocations: 2.462 MB / 0.8476 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.9977, allocations: 0.8364 MB / 0.8484 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006713/0.9984, allocations: 334.7 kB / 0.8488 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.337e-05/0.9985, allocations: 32.61 kB / 0.8488 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.9995, allocations: 0.5267 MB / 0.8493 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 2.826e-06/0.9995, allocations: 4 kB / 0.8493 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.003609/1.003, allocations: 1.287 MB / 0.8506 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/1.003, allocations: 188.6 kB / 0.8507 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000826/1.004, allocations: 0.6411 MB / 0.8514 GB, free: 92 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.157e-05/1.004, allocations: 45.7 kB / 0.8514 GB, free: 40 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003409/1.005, allocations: 372.5 kB / 0.8518 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002335/1.005, allocations: 264.2 kB / 0.852 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000271/1.005, allocations: 178.5 kB / 0.8522 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001811/1.005, allocations: 386.8 kB / 0.8526 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006327/1.006, allocations: 293.8 kB / 0.8528 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000737/1.007, allocations: 407.9 kB / 0.8532 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/1.008, allocations: 0.6705 MB / 0.8539 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/1.008, allocations: 0 / 0.8539 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00269/1.011, allocations: 0.9229 MB / 0.8548 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/1.011, allocations: 12.03 kB / 0.8548 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/1.011, allocations: 0 / 0.8548 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006161/1.011, allocations: 84.77 kB / 0.8549 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007357/1.012, allocations: 179.8 kB / 0.8551 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/1.014, allocations: 1.646 MB / 0.8567 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008202/1.015, allocations: 101.5 kB / 0.8568 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.831e-05/1.015, allocations: 43.95 kB / 0.8568 GB, free: 10.32 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,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 (97): * Single equations (assignments): 96 * 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.0005513/1.016, allocations: 264 kB / 0.857 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/1.016, allocations: 86.91 kB / 0.8571 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002823/1.019, allocations: 1.204 MB / 0.8583 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/1.019, allocations: 8 kB / 0.8583 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/1.019, allocations: 0 / 0.8583 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/1.019, allocations: 7.984 kB / 0.8583 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/1.02, allocations: 0.9148 MB / 0.8592 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/1.02, allocations: 0 / 0.8592 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006402/1.021, allocations: 163.8 kB / 0.8594 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000424/1.021, allocations: 72.73 kB / 0.8594 GB, free: 7.543 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.23e-05/1.021, allocations: 27.97 kB / 0.8595 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/1.023, allocations: 1.681 MB / 0.8611 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.023, allocations: 0 / 0.8611 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002291/1.026, allocations: 1.006 MB / 0.8621 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000513/1.026, allocations: 283.7 kB / 0.8624 GB, free: 4.363 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/1.026, allocations: 20 kB / 0.8624 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006426/1.027, allocations: 71.91 kB / 0.8625 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/1.027, allocations: 76.89 kB / 0.8625 GB, free: 4.195 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.543e-05/1.027, allocations: 35.98 kB / 0.8626 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006774/1.028, allocations: 463 kB / 0.863 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/1.028, allocations: 0 / 0.863 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001174/1.029, allocations: 323.3 kB / 0.8633 GB, free: 3.395 MB / 0.6231 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.001899/1.031, allocations: 0.6225 MB / 0.8639 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002397/1.033, allocations: 0.9134 MB / 0.8648 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.033, allocations: 0 / 0.8648 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/1.035, allocations: 0.5549 MB / 0.8654 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/1.036, allocations: 295.8 kB / 0.8656 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004592/1.041, allocations: 1.755 MB / 0.8673 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006734/1.041, allocations: 1.016 MB / 0.8683 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000907/1.042, allocations: 278.8 kB / 0.8686 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/1.042, allocations: 115.4 kB / 0.8687 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of SimCode: time 1.623e-06/1.042, allocations: 0 / 0.8687 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of Templates: time 0.02979/1.072, allocations: 15.6 MB / 0.8839 GB, free: 14.59 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)