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.001362/0.001362, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001574/0.001574, allocations: 190.8 kB / 16.25 MB, free: 6.633 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.339/1.339, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002051/0.002051, allocations: 286.8 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9393/0.9393, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 96.5 kB / 0.5948 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1355, allocations: 86.97 MB / 0.6797 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005348/0.1409, allocations: 4.433 MB / 0.6841 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4034/0.5443, allocations: 148.3 MB / 0.8289 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006115/0.545, allocations: 23.72 kB / 0.8289 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004335/0.5454, allocations: 137.5 kB / 0.8291 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001166/0.5466, allocations: 454.8 kB / 0.8295 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.548, allocations: 0.7451 MB / 0.8302 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009049/0.549, allocations: 1.346 MB / 0.8315 GB, free: 356 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007243/0.5497, allocations: 0.5636 MB / 0.8321 GB, free: 224 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006271/0.5503, allocations: 472.2 kB / 0.8325 GB, free: 132 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004351/0.5508, allocations: 492 kB / 0.833 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.5509, allocations: 113.8 kB / 0.8331 GB, free: 16 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.5521, allocations: 0.8419 MB / 0.8339 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.5523, allocations: 289.8 kB / 0.8342 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003623/0.5526, allocations: 0.5227 MB / 0.8347 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.5541, allocations: 1.738 MB / 0.8364 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5542, allocations: 1.125 kB / 0.8364 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5542, allocations: 0 / 0.8364 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.5542, allocations: 0 / 0.8364 GB, free: 15.53 MB / 0.5762 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.002307/0.5565, allocations: 1.452 MB / 0.8378 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.5565, allocations: 9 kB / 0.8379 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001322/0.5567, allocations: 126.8 kB / 0.838 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.5578, allocations: 202.9 kB / 0.8382 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008541/0.5586, allocations: 0.7485 MB / 0.8389 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/0.5587, allocations: 56.44 kB / 0.8389 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.343e-05/0.5588, allocations: 73.12 kB / 0.839 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.5602, allocations: 0.8953 MB / 0.8399 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.5602, allocations: 1.562 kB / 0.8399 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.428e-05/0.5603, allocations: 31.09 kB / 0.8399 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.5603, allocations: 21.88 kB / 0.8399 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.5621, allocations: 1.128 MB / 0.841 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003264/0.5654, allocations: 2.5 MB / 0.8435 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.5668, allocations: 0.8319 MB / 0.8443 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006083/0.5674, allocations: 333 kB / 0.8446 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.057e-05/0.5675, allocations: 31.75 kB / 0.8446 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009489/0.5685, allocations: 0.5342 MB / 0.8452 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 2.134e-06/0.5685, allocations: 0 / 0.8452 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.003316/0.5718, allocations: 1.283 MB / 0.8464 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.616e-05/0.5719, allocations: 194.8 kB / 0.8466 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006317/0.5725, allocations: 0.6427 MB / 0.8472 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.765e-05/0.5726, allocations: 42.64 kB / 0.8473 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.5728, allocations: 386 kB / 0.8476 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.573, allocations: 267.6 kB / 0.8479 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.5732, allocations: 149.5 kB / 0.848 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.5734, allocations: 392.3 kB / 0.8484 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005804/0.574, allocations: 280.2 kB / 0.8487 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006654/0.5746, allocations: 392.7 kB / 0.8491 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.5758, allocations: 0.6499 MB / 0.8497 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5758, allocations: 0 / 0.8497 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001933/0.5778, allocations: 0.8703 MB / 0.8505 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.5778, allocations: 5.344 kB / 0.8505 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.5778, allocations: 4 kB / 0.8506 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005686/0.5784, allocations: 90.52 kB / 0.8506 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006658/0.5791, allocations: 168.4 kB / 0.8508 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/0.5809, allocations: 1.645 MB / 0.8524 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006979/0.5816, allocations: 95.62 kB / 0.8525 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.394e-05/0.5817, allocations: 38.59 kB / 0.8525 GB, free: 5.938 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.0003615/0.582, allocations: 265.1 kB / 0.8528 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.5822, allocations: 95.75 kB / 0.8529 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/0.5848, allocations: 1.203 MB / 0.8541 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.5848, allocations: 10.44 kB / 0.8541 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.5848, allocations: 0 / 0.8541 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.5849, allocations: 3.984 kB / 0.8541 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008813/0.5857, allocations: 0.9303 MB / 0.855 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5858, allocations: 0 / 0.855 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006175/0.5864, allocations: 171.1 kB / 0.8551 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004112/0.5868, allocations: 64.08 kB / 0.8552 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.668e-05/0.5869, allocations: 33.5 kB / 0.8552 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/0.5885, allocations: 1.671 MB / 0.8569 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.5885, allocations: 0 / 0.8569 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.5905, allocations: 1.003 MB / 0.8578 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003197/0.5908, allocations: 285.6 kB / 0.8581 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.5909, allocations: 21.72 kB / 0.8581 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006433/0.5916, allocations: 79.38 kB / 0.8582 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.5918, allocations: 72.17 kB / 0.8583 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/0.5918, allocations: 34.17 kB / 0.8583 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004695/0.5923, allocations: 470.8 kB / 0.8588 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5923, allocations: 0 / 0.8588 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007693/0.5931, allocations: 311 kB / 0.8591 GB, free: 1.348 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.003404/0.5965, allocations: 2.077 MB / 0.8611 GB, free: 96 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002401/0.5989, allocations: 1.087 MB / 0.8621 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5989, allocations: 5.812 kB / 0.8622 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009245/0.5999, allocations: 0.5467 MB / 0.8627 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.6009, allocations: 312.1 kB / 0.863 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.6126, allocations: 7.063 MB / 0.8699 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.6131, allocations: 1.015 MB / 0.8709 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008587/0.614, allocations: 274 kB / 0.8711 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004856/0.6145, allocations: 376.9 kB / 0.8715 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of SimCode: time 4.4e-07/0.6145, allocations: 0 / 0.8715 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3793/0.9938, allocations: 21.71 MB / 0.8927 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002688/0.9941, allocations: 315 kB / 0.893 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.492/3.486, allocations: 1.25 kB / 0.893 GB, free: 4.59 MB / 0.6075 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)