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.007491/0.007491, allocations: 101.6 kB / 15.73 MB, free: 6.047 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.001759/0.00176, allocations: 196.4 kB / 16.67 MB, free: 5.977 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002291/0.002291, allocations: 275 kB / 290.8 MB, free: 1.785 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9404/0.9404, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 89.39 kB / 0.6809 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1728, allocations: 86.99 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006339/0.1792, allocations: 4.437 MB / 0.7702 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5401/0.7193, allocations: 150.6 MB / 0.9172 GB, free: 7.836 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008522/0.7202, allocations: 15.94 kB / 0.9173 GB, free: 7.82 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000691/0.7209, allocations: 176.2 kB / 0.9174 GB, free: 7.648 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001884/0.7228, allocations: 0.5091 MB / 0.9179 GB, free: 7.156 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.7248, allocations: 0.8356 MB / 0.9187 GB, free: 6.348 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00139/0.7262, allocations: 1.347 MB / 0.9201 GB, free: 4.996 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007634/0.727, allocations: 0.559 MB / 0.9206 GB, free: 4.422 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006684/0.7276, allocations: 474.4 kB / 0.9211 GB, free: 3.957 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005467/0.7282, allocations: 493.8 kB / 0.9215 GB, free: 3.473 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.7283, allocations: 112 kB / 0.9216 GB, free: 3.363 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.7297, allocations: 0.8698 MB / 0.9225 GB, free: 2.496 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002492/0.73, allocations: 295 kB / 0.9228 GB, free: 2.207 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005605/0.7305, allocations: 0.5244 MB / 0.9233 GB, free: 1.684 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.7328, allocations: 1.775 MB / 0.925 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7328, allocations: 0 / 0.925 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7328, allocations: 0 / 0.925 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.7328, allocations: 4 kB / 0.925 GB, free: 15.9 MB / 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.00257/0.7354, allocations: 1.45 MB / 0.9264 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.7355, allocations: 8.031 kB / 0.9264 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001349/0.7356, allocations: 125 kB / 0.9266 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.7367, allocations: 211.4 kB / 0.9268 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.7378, allocations: 0.7665 MB / 0.9275 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.591e-05/0.7378, allocations: 58 kB / 0.9276 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.7379, allocations: 72 kB / 0.9276 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.7396, allocations: 0.888 MB / 0.9285 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.7396, allocations: 0 / 0.9285 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.832e-05/0.7397, allocations: 39.98 kB / 0.9285 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.7397, allocations: 20 kB / 0.9286 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/0.7416, allocations: 1.128 MB / 0.9297 GB, free: 11 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003695/0.7453, allocations: 2.462 MB / 0.9321 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.7469, allocations: 0.8419 MB / 0.9329 GB, free: 7.621 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006516/0.7476, allocations: 330.7 kB / 0.9332 GB, free: 7.297 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.368e-05/0.7477, allocations: 32.61 kB / 0.9332 GB, free: 7.266 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009929/0.7487, allocations: 0.5343 MB / 0.9338 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 2.905e-06/0.7487, allocations: 0 / 0.9338 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.003455/0.7521, allocations: 1.283 MB / 0.935 GB, free: 5.398 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.7523, allocations: 196.6 kB / 0.9352 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007651/0.753, allocations: 0.6333 MB / 0.9358 GB, free: 4.527 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.059e-05/0.7531, allocations: 45.7 kB / 0.9359 GB, free: 4.477 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/0.7534, allocations: 384.5 kB / 0.9362 GB, free: 4.094 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.7536, allocations: 268.1 kB / 0.9365 GB, free: 3.828 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002269/0.7539, allocations: 150.6 kB / 0.9366 GB, free: 3.676 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.754, allocations: 390.7 kB / 0.937 GB, free: 3.285 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006132/0.7546, allocations: 277.8 kB / 0.9373 GB, free: 3.016 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007294/0.7554, allocations: 391.4 kB / 0.9376 GB, free: 2.602 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.7567, allocations: 0.6471 MB / 0.9383 GB, free: 1.945 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.7567, allocations: 4.812 kB / 0.9383 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002052/0.7588, allocations: 0.8721 MB / 0.9391 GB, free: 1.059 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.7588, allocations: 11.98 kB / 0.9391 GB, free: 1.047 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.7588, allocations: 2.625 kB / 0.9391 GB, free: 1.047 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005696/0.7594, allocations: 80.91 kB / 0.9392 GB, free: 0.9648 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006704/0.7601, allocations: 167.8 kB / 0.9394 GB, free: 0.8008 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/0.7621, allocations: 1.643 MB / 0.941 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006606/0.7628, allocations: 103.5 kB / 0.9411 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.405e-05/0.7629, allocations: 31.97 kB / 0.9411 GB, free: 14.89 MB / 0.7012 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.000385/0.7633, allocations: 267.4 kB / 0.9414 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.7634, allocations: 90.91 kB / 0.9414 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002588/0.766, allocations: 1.197 MB / 0.9426 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.766, allocations: 12 kB / 0.9426 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.7661, allocations: 0 / 0.9426 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.7661, allocations: 3.984 kB / 0.9426 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.7671, allocations: 0.9229 MB / 0.9435 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.7671, allocations: 48 / 0.9435 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006238/0.7677, allocations: 163.8 kB / 0.9437 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004145/0.7682, allocations: 76.78 kB / 0.9438 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.933e-05/0.7682, allocations: 27.97 kB / 0.9438 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/0.77, allocations: 1.674 MB / 0.9454 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.77, allocations: 0 / 0.9454 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/0.7721, allocations: 1.002 MB / 0.9464 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003609/0.7725, allocations: 291.6 kB / 0.9467 GB, free: 8.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.7726, allocations: 20 kB / 0.9467 GB, free: 8.891 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006135/0.7732, allocations: 67.92 kB / 0.9468 GB, free: 8.824 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.7734, allocations: 76.89 kB / 0.9468 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.395e-05/0.7735, allocations: 43.91 kB / 0.9469 GB, free: 8.707 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005651/0.774, allocations: 467 kB / 0.9473 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.1e-07/0.774, allocations: 0 / 0.9473 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008147/0.7749, allocations: 307.4 kB / 0.9476 GB, free: 7.957 MB / 0.7012 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.003698/0.7786, allocations: 2.08 MB / 0.9497 GB, free: 6.027 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001935/0.7805, allocations: 0.8676 MB / 0.9505 GB, free: 5.152 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.7805, allocations: 3.938 kB / 0.9505 GB, free: 5.148 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.7816, allocations: 0.5665 MB / 0.9511 GB, free: 4.57 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.7827, allocations: 290.6 kB / 0.9513 GB, free: 4.312 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/0.7952, allocations: 6.484 MB / 0.9577 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007401/0.796, allocations: 1.019 MB / 0.9587 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009645/0.797, allocations: 274.8 kB / 0.9589 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006027/0.7976, allocations: 375.3 kB / 0.9593 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of SimCode: time 6.61e-07/0.7976, allocations: 0 / 0.9593 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05351/0.8511, allocations: 22.16 MB / 0.9809 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.17, allocations: 11.8 kB / 0.9809 GB, free: 6.164 MB / 0.7325 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)