Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="IDEAS_IDEAS_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.005076/0.005075, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001086/0.001086, allocations: 196.9 kB / 16.68 MB, free: 5.926 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.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7373/0.7373, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 62.31 kB / 0.5808 GB, free: 24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1291, allocations: 80.22 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004995/0.1341, allocations: 4.184 MB / 0.6633 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4968/0.6309, allocations: 150.5 MB / 0.8102 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006839/0.6317, allocations: 23.28 kB / 0.8102 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005456/0.6322, allocations: 160.8 kB / 0.8104 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.6336, allocations: 483.7 kB / 0.8108 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.6351, allocations: 0.7909 MB / 0.8116 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009525/0.6361, allocations: 1.221 MB / 0.8128 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006674/0.6367, allocations: 0.5555 MB / 0.8133 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004387/0.6372, allocations: 424.7 kB / 0.8137 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004175/0.6376, allocations: 438.2 kB / 0.8142 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.6378, allocations: 97 kB / 0.8143 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.639, allocations: 0.8586 MB / 0.8151 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.6393, allocations: 261.8 kB / 0.8153 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003551/0.6396, allocations: 481.2 kB / 0.8158 GB, free: 10 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0017/0.6413, allocations: 1.646 MB / 0.8174 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6413, allocations: 3.656 kB / 0.8174 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6414, allocations: 0 / 0.8174 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.6414, allocations: 0 / 0.8174 GB, free: 9.285 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001997/0.6434, allocations: 1.352 MB / 0.8187 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.6434, allocations: 8.312 kB / 0.8187 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001208/0.6435, allocations: 120.7 kB / 0.8189 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.6446, allocations: 201.7 kB / 0.8191 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000929/0.6456, allocations: 0.7248 MB / 0.8198 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.6456, allocations: 51.16 kB / 0.8198 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.59e-05/0.6457, allocations: 72.12 kB / 0.8199 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.647, allocations: 0.8242 MB / 0.8207 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.647, allocations: 0 / 0.8207 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.355e-05/0.6471, allocations: 34.09 kB / 0.8207 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.6471, allocations: 15.09 kB / 0.8207 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.6488, allocations: 1.079 MB / 0.8218 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003473/0.6523, allocations: 2.336 MB / 0.8241 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.6536, allocations: 0.7384 MB / 0.8248 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005718/0.6541, allocations: 301 kB / 0.8251 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.795e-05/0.6542, allocations: 32.2 kB / 0.8251 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008213/0.655, allocations: 473.3 kB / 0.8256 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=73): time 2.195e-06/0.6551, allocations: 0 / 0.8256 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73): time 0.003266/0.6583, allocations: 1.174 MB / 0.8267 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.954e-05/0.6584, allocations: 188.5 kB / 0.8269 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007104/0.6592, allocations: 0.5968 MB / 0.8275 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.924e-05/0.6592, allocations: 42.95 kB / 0.8275 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.6595, allocations: 359.3 kB / 0.8278 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.6597, allocations: 240 kB / 0.8281 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.6599, allocations: 139.7 kB / 0.8282 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.66, allocations: 384.5 kB / 0.8286 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005315/0.6605, allocations: 244.6 kB / 0.8288 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006295/0.6612, allocations: 351.8 kB / 0.8291 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.6624, allocations: 0.5898 MB / 0.8297 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.6624, allocations: 0 / 0.8297 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001946/0.6643, allocations: 0.7869 MB / 0.8305 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.6644, allocations: 8.844 kB / 0.8305 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.6644, allocations: 2.531 kB / 0.8305 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006052/0.665, allocations: 89.3 kB / 0.8306 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006351/0.6656, allocations: 148.5 kB / 0.8307 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/0.6677, allocations: 1.649 MB / 0.8323 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000756/0.6685, allocations: 80.59 kB / 0.8324 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-05/0.6686, allocations: 31.86 kB / 0.8324 GB, free: 15.06 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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.0004974/0.6691, allocations: 241.4 kB / 0.8327 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002485/0.6694, allocations: 80.55 kB / 0.8328 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/0.6721, allocations: 1.112 MB / 0.8338 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.6721, allocations: 6.906 kB / 0.8338 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.6722, allocations: 0 / 0.8338 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.6722, allocations: 7.203 kB / 0.8339 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.6732, allocations: 0.8441 MB / 0.8347 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.6732, allocations: 4 kB / 0.8347 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006459/0.6739, allocations: 159.7 kB / 0.8348 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004399/0.6743, allocations: 66.77 kB / 0.8349 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.605e-05/0.6744, allocations: 33.34 kB / 0.8349 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/0.6763, allocations: 1.668 MB / 0.8366 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.6763, allocations: 3.938 kB / 0.8366 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/0.6783, allocations: 0.9037 MB / 0.8374 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003771/0.6787, allocations: 265.5 kB / 0.8377 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.6788, allocations: 16.66 kB / 0.8377 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006006/0.6794, allocations: 66.52 kB / 0.8378 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.6796, allocations: 59.17 kB / 0.8378 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.595e-05/0.6796, allocations: 38.56 kB / 0.8379 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000524/0.6802, allocations: 432.4 kB / 0.8383 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6802, allocations: 2.75 kB / 0.8383 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008127/0.681, allocations: 293.9 kB / 0.8386 GB, free: 10.68 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00358/0.6846, allocations: 1.968 MB / 0.8405 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001829/0.6864, allocations: 0.7851 MB / 0.8413 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.6865, allocations: 1.812 kB / 0.8413 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009897/0.6875, allocations: 0.5206 MB / 0.8418 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.6887, allocations: 296.7 kB / 0.842 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.6998, allocations: 5.986 MB / 0.8479 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/0.7004, allocations: 0.9916 MB / 0.8489 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008444/0.7012, allocations: 258.3 kB / 0.8491 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000522/0.7018, allocations: 351.3 kB / 0.8494 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of SimCode: time 9.42e-07/0.7018, allocations: 0 / 0.8494 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05311/0.7549, allocations: 21.05 MB / 0.87 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/13.02, allocations: 8.656 kB / 0.87 GB, free: 12.27 MB / 0.6387 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)