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.00671/0.00671, allocations: 100.8 kB / 15.73 MB, free: 5.992 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.001337/0.001337, allocations: 198.8 kB / 16.68 MB, free: 5.918 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7498/0.7498, allocations: 132.2 MB / 422.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 65.73 kB / 0.5808 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1285, allocations: 80.2 MB / 0.6592 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005351/0.1339, allocations: 4.187 MB / 0.6633 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4467/0.5806, allocations: 150.5 MB / 0.8102 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005672/0.5812, allocations: 21.66 kB / 0.8102 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004613/0.5817, allocations: 169.7 kB / 0.8104 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.5829, allocations: 479.9 kB / 0.8108 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.5844, allocations: 0.7965 MB / 0.8116 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009041/0.5853, allocations: 1.224 MB / 0.8128 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006503/0.586, allocations: 0.5556 MB / 0.8134 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004634/0.5864, allocations: 425.2 kB / 0.8138 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003934/0.5868, allocations: 438.2 kB / 0.8142 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.587, allocations: 96.03 kB / 0.8143 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.5881, allocations: 0.857 MB / 0.8151 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.5883, allocations: 255.5 kB / 0.8154 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003244/0.5886, allocations: 487.3 kB / 0.8158 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.5901, allocations: 1.65 MB / 0.8174 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5902, allocations: 3.938 kB / 0.8174 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5902, allocations: 0 / 0.8174 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.5902, allocations: 0 / 0.8174 GB, free: 9.555 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.001887/0.5921, allocations: 1.348 MB / 0.8187 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.5921, allocations: 12.12 kB / 0.8188 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/0.5922, allocations: 124.4 kB / 0.8189 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.5933, allocations: 198.5 kB / 0.8191 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009636/0.5942, allocations: 0.7227 MB / 0.8198 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.949e-05/0.5943, allocations: 50.38 kB / 0.8198 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.85e-05/0.5944, allocations: 68.88 kB / 0.8199 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.5958, allocations: 0.836 MB / 0.8207 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.5958, allocations: 2.906 kB / 0.8207 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.861e-05/0.5959, allocations: 24.88 kB / 0.8207 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.5959, allocations: 17.75 kB / 0.8207 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.5976, allocations: 1.083 MB / 0.8218 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003144/0.6008, allocations: 2.329 MB / 0.8241 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.602, allocations: 0.7346 MB / 0.8248 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005593/0.6026, allocations: 309 kB / 0.8251 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.763e-05/0.6027, allocations: 36.08 kB / 0.8251 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000807/0.6035, allocations: 462.4 kB / 0.8256 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=73): time 2.264e-06/0.6035, allocations: 0 / 0.8256 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73): time 0.003117/0.6066, allocations: 1.17 MB / 0.8267 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.657e-05/0.6067, allocations: 188.4 kB / 0.8269 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006291/0.6074, allocations: 0.601 MB / 0.8275 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.405e-05/0.6074, allocations: 38.05 kB / 0.8275 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.6077, allocations: 363.5 kB / 0.8279 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.6079, allocations: 242.8 kB / 0.8281 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.6081, allocations: 139.8 kB / 0.8282 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.6083, allocations: 384.5 kB / 0.8286 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005466/0.6088, allocations: 244.3 kB / 0.8288 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006367/0.6095, allocations: 359.1 kB / 0.8292 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.6107, allocations: 0.5861 MB / 0.8297 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.6107, allocations: 4 kB / 0.8297 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001881/0.6126, allocations: 0.784 MB / 0.8305 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.6126, allocations: 4.656 kB / 0.8305 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.6126, allocations: 2.625 kB / 0.8305 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005601/0.6132, allocations: 83.7 kB / 0.8306 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000609/0.6138, allocations: 155 kB / 0.8307 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.6158, allocations: 1.635 MB / 0.8323 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006016/0.6164, allocations: 86.53 kB / 0.8324 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.868e-05/0.6165, allocations: 32.58 kB / 0.8325 GB, free: 15.08 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.0004288/0.6169, allocations: 245 kB / 0.8327 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.6171, allocations: 80.98 kB / 0.8328 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/0.6196, allocations: 1.109 MB / 0.8338 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.413e-06/0.6196, allocations: 7.75 kB / 0.8339 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.6196, allocations: 0 / 0.8339 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.6196, allocations: 3.984 kB / 0.8339 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008997/0.6205, allocations: 0.8559 MB / 0.8347 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.6205, allocations: 0 / 0.8347 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006051/0.6211, allocations: 158.4 kB / 0.8348 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004099/0.6216, allocations: 67.95 kB / 0.8349 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.552e-05/0.6216, allocations: 29.47 kB / 0.8349 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.6235, allocations: 1.668 MB / 0.8366 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.6235, allocations: 3.938 kB / 0.8366 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.6256, allocations: 0.9048 MB / 0.8375 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003174/0.6259, allocations: 265.4 kB / 0.8377 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.231e-05/0.626, allocations: 20.41 kB / 0.8377 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005418/0.6266, allocations: 62.7 kB / 0.8378 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.6267, allocations: 58.84 kB / 0.8378 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.431e-05/0.6268, allocations: 35 kB / 0.8379 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005258/0.6273, allocations: 438.1 kB / 0.8383 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6273, allocations: 4 kB / 0.8383 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009214/0.6283, allocations: 292.2 kB / 0.8386 GB, free: 10.7 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.003312/0.6316, allocations: 1.964 MB / 0.8405 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001597/0.6332, allocations: 0.7945 MB / 0.8413 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6332, allocations: 0 / 0.8413 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008697/0.6341, allocations: 0.5155 MB / 0.8418 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009782/0.6351, allocations: 296.8 kB / 0.8421 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.6451, allocations: 5.99 MB / 0.8479 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005125/0.6456, allocations: 0.9916 MB / 0.8489 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007336/0.6464, allocations: 262.3 kB / 0.8491 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004692/0.6469, allocations: 347.3 kB / 0.8495 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of SimCode: time 1.573e-06/0.6469, allocations: 0 / 0.8495 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04545/0.6923, allocations: 20.68 MB / 0.8696 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.7, allocations: 6 kB / 0.8697 GB, free: 12.7 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)