Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 217.8 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.393/1.393, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8251/0.8251, allocations: 134 MB / 446.4 MB, free: 10.24 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002859/0.002859, allocations: 63.03 kB / 0.6185 GB, free: 7.188 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1807, allocations: 85.91 MB / 0.7024 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5976/0.7782, allocations: 179.6 MB / 0.8778 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01925/0.7975, allocations: 12.97 MB / 0.8905 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.7987, allocations: 43.62 kB / 0.8905 GB, free: 5.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001588/0.8003, allocations: 456.6 kB / 0.891 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003248/0.8035, allocations: 0.9683 MB / 0.8919 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005222/0.8087, allocations: 1.904 MB / 0.8938 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003865/0.8126, allocations: 2.322 MB / 0.896 GB, free: 272 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002749/0.8154, allocations: 1.292 MB / 0.8973 GB, free: 14.93 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004662/0.82, allocations: 1.443 MB / 0.8987 GB, free: 13.52 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/0.8216, allocations: 0.8479 MB / 0.8995 GB, free: 12.67 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004972/0.8221, allocations: 160 kB / 0.8997 GB, free: 12.52 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003446/0.8255, allocations: 1.517 MB / 0.9012 GB, free: 11 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007135/0.8262, allocations: 474.5 kB / 0.9016 GB, free: 10.53 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001392/0.8276, allocations: 0.8085 MB / 0.9024 GB, free: 9.719 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005038/0.8327, allocations: 2.703 MB / 0.905 GB, free: 7.012 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.8327, allocations: 4 kB / 0.905 GB, free: 7.008 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.422e-06/0.8327, allocations: 0 / 0.905 GB, free: 7.008 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.307e-05/0.8328, allocations: 0 / 0.905 GB, free: 7.008 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.004873/0.8376, allocations: 1.907 MB / 0.9069 GB, free: 5.059 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.8377, allocations: 8.625 kB / 0.9069 GB, free: 5.051 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000391/0.8381, allocations: 198.3 kB / 0.9071 GB, free: 4.848 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003477/0.8415, allocations: 462.4 kB / 0.9075 GB, free: 4.395 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002168/0.8437, allocations: 0.9282 MB / 0.9084 GB, free: 3.441 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.8438, allocations: 102.6 kB / 0.9085 GB, free: 3.34 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002523/0.8441, allocations: 124 kB / 0.9087 GB, free: 3.219 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002928/0.847, allocations: 1.463 MB / 0.9101 GB, free: 1.68 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.847, allocations: 7.984 kB / 0.9101 GB, free: 1.672 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/0.8472, allocations: 52 kB / 0.9102 GB, free: 1.621 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.214e-05/0.8472, allocations: 36 kB / 0.9102 GB, free: 1.586 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002768/0.85, allocations: 1.536 MB / 0.9117 GB, free: 44 kB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007947/0.8579, allocations: 4.819 MB / 0.9164 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/0.8603, allocations: 1.074 MB / 0.9174 GB, free: 9.887 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008218/0.8611, allocations: 411.6 kB / 0.9178 GB, free: 9.48 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006499/0.8618, allocations: 124.9 kB / 0.918 GB, free: 9.359 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001201/0.863, allocations: 0.6139 MB / 0.9186 GB, free: 8.727 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=98): time 3.667e-06/0.863, allocations: 0 / 0.9186 GB, free: 8.727 MB / 0.6856 GB Notification: Performance of matching and sorting (n=98): time 0.004136/0.8671, allocations: 1.467 MB / 0.92 GB, free: 7.254 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.8673, allocations: 192.9 kB / 0.9202 GB, free: 7.02 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.8687, allocations: 0.875 MB / 0.921 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.8688, allocations: 49.7 kB / 0.9211 GB, free: 6.066 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005726/0.8694, allocations: 0.5907 MB / 0.9216 GB, free: 5.469 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000334/0.8697, allocations: 345 kB / 0.922 GB, free: 5.129 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003106/0.87, allocations: 182.6 kB / 0.9221 GB, free: 4.945 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.8702, allocations: 341.9 kB / 0.9225 GB, free: 4.605 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007259/0.8709, allocations: 337.8 kB / 0.9228 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000937/0.8718, allocations: 0.532 MB / 0.9233 GB, free: 3.68 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.8735, allocations: 0.8745 MB / 0.9242 GB, free: 2.766 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.8735, allocations: 7.938 kB / 0.9242 GB, free: 2.758 MB / 0.6856 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002648/0.8761, allocations: 1.114 MB / 0.9253 GB, free: 1.633 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.8762, allocations: 10.34 kB / 0.9253 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.8762, allocations: 4 kB / 0.9253 GB, free: 1.621 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000621/0.8768, allocations: 85.17 kB / 0.9254 GB, free: 1.535 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.8778, allocations: 227.7 kB / 0.9256 GB, free: 1.312 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/0.8801, allocations: 1.558 MB / 0.9271 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009624/0.881, allocations: 131.2 kB / 0.9272 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.574e-05/0.8811, allocations: 39.97 kB / 0.9273 GB, free: 15.47 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * 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.0006838/0.8818, allocations: 325.7 kB / 0.9276 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003576/0.8822, allocations: 123.2 kB / 0.9277 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003152/0.8853, allocations: 1.33 MB / 0.929 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.8853, allocations: 8 kB / 0.929 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.8853, allocations: 8 kB / 0.929 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.8853, allocations: 7.969 kB / 0.929 GB, free: 13.66 MB / 0.7012 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005069/0.8904, allocations: 2.672 MB / 0.9316 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.8904, allocations: 0 / 0.9316 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009719/0.8914, allocations: 211.7 kB / 0.9318 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004561/0.8918, allocations: 76.78 kB / 0.9319 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-05/0.8919, allocations: 31.97 kB / 0.9319 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/0.8939, allocations: 1.574 MB / 0.9335 GB, free: 8.891 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8939, allocations: 0 / 0.9335 GB, free: 8.891 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002653/0.8966, allocations: 1.237 MB / 0.9347 GB, free: 7.633 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006872/0.8973, allocations: 266.8 kB / 0.9349 GB, free: 7.371 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/0.8975, allocations: 27.92 kB / 0.935 GB, free: 7.344 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009051/0.8984, allocations: 63.94 kB / 0.935 GB, free: 7.281 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.8986, allocations: 80.78 kB / 0.9351 GB, free: 7.203 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.8987, allocations: 51.97 kB / 0.9351 GB, free: 7.152 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009955/0.8997, allocations: 0.6064 MB / 0.9357 GB, free: 6.535 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8997, allocations: 3.938 kB / 0.9357 GB, free: 6.531 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001408/0.9011, allocations: 462.8 kB / 0.9362 GB, free: 6.078 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * 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.00526/0.9064, allocations: 2.373 MB / 0.9385 GB, free: 3.895 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002264/0.9086, allocations: 0.9995 MB / 0.9395 GB, free: 2.879 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.9086, allocations: 7.938 kB / 0.9395 GB, free: 2.871 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.9098, allocations: 0.5941 MB / 0.9401 GB, free: 2.266 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/0.9121, allocations: 0.5121 MB / 0.9406 GB, free: 1.777 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01695/0.929, allocations: 8.621 MB / 0.949 GB, free: 8.957 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.93, allocations: 1.186 MB / 0.9501 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001298/0.9313, allocations: 373.5 kB / 0.9505 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008713/0.9322, allocations: 0.5383 MB / 0.951 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of SimCode: time 8.42e-07/0.9322, allocations: 4 kB / 0.951 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09465/1.027, allocations: 33.16 MB / 0.9834 GB, free: 5.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/15.64, allocations: 14.45 kB / 0.9834 GB, free: 5.898 MB / 0.7481 GB " [Timeout remaining time 644] (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.409193891100585] Failed to read output from testmodel.py, exit status != 0: 15.866312872152776 15.88058673 15.044752353 Calling exit ...