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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 109.1 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.8063/0.8063, allocations: 134 MB / 436.6 MB, free: 1.289 MB / 334.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.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.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: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 64.11 kB / 0.6051 GB, free: 15.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.179, allocations: 84.68 MB / 0.6878 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6074/0.7864, allocations: 176.4 MB / 0.8601 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01701/0.8034, allocations: 12.7 MB / 0.8725 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.8048, allocations: 31.81 kB / 0.8725 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.8062, allocations: 460.6 kB / 0.8729 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003048/0.8092, allocations: 0.9527 MB / 0.8739 GB, free: 280 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004787/0.814, allocations: 1.835 MB / 0.8756 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003215/0.8172, allocations: 2.281 MB / 0.8779 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002005/0.8192, allocations: 1.305 MB / 0.8791 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004188/0.8234, allocations: 1.408 MB / 0.8805 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.8247, allocations: 0.8324 MB / 0.8813 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002251/0.8249, allocations: 156 kB / 0.8815 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00307/0.828, allocations: 1.462 MB / 0.8829 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004846/0.8285, allocations: 466.5 kB / 0.8834 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009749/0.8295, allocations: 0.7968 MB / 0.8841 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004235/0.8337, allocations: 2.656 MB / 0.8867 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.8337, allocations: 0 / 0.8867 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8337, allocations: 4 kB / 0.8867 GB, free: 3.066 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.324e-05/0.8337, allocations: 0 / 0.8867 GB, free: 3.066 MB / 0.6387 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.003543/0.8373, allocations: 1.957 MB / 0.8886 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.8373, allocations: 8.031 kB / 0.8887 GB, free: 1.043 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002487/0.8376, allocations: 202.3 kB / 0.8888 GB, free: 0.8359 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002624/0.8402, allocations: 406.5 kB / 0.8892 GB, free: 448 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/0.842, allocations: 1.004 MB / 0.8902 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-05/0.8421, allocations: 98.61 kB / 0.8903 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.8422, allocations: 128 kB / 0.8904 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002586/0.8448, allocations: 1.456 MB / 0.8919 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.33e-05/0.8449, allocations: 0 / 0.8919 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.845, allocations: 56 kB / 0.8919 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.442e-05/0.845, allocations: 32 kB / 0.8919 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002671/0.8477, allocations: 1.543 MB / 0.8934 GB, free: 12 MB / 0.6544 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.007642/0.8553, allocations: 4.889 MB / 0.8982 GB, free: 6.848 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/0.8579, allocations: 1.364 MB / 0.8995 GB, free: 5.406 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007766/0.8586, allocations: 411.6 kB / 0.8999 GB, free: 5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007967/0.8594, allocations: 425.4 kB / 0.9003 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001175/0.8606, allocations: 0.6239 MB / 0.901 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=98): time 2.655e-06/0.8606, allocations: 0 / 0.901 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of matching and sorting (n=98): time 0.004024/0.8646, allocations: 1.528 MB / 0.9024 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001571/0.8648, allocations: 200.9 kB / 0.9026 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.8661, allocations: 0.8466 MB / 0.9035 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.91e-05/0.8661, allocations: 45.7 kB / 0.9035 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005509/0.8667, allocations: 0.5906 MB / 0.9041 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003161/0.867, allocations: 341 kB / 0.9044 GB, free: 228 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003002/0.8673, allocations: 182.6 kB / 0.9046 GB, free: 40 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.8675, allocations: 345.9 kB / 0.9049 GB, free: 15.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006992/0.8682, allocations: 345.7 kB / 0.9052 GB, free: 15.36 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00091/0.8691, allocations: 0.5249 MB / 0.9058 GB, free: 14.77 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/0.8707, allocations: 0.8832 MB / 0.9066 GB, free: 13.84 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.8708, allocations: 7.938 kB / 0.9066 GB, free: 13.83 MB / 0.67 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002509/0.8733, allocations: 1.103 MB / 0.9077 GB, free: 12.72 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.8733, allocations: 8.062 kB / 0.9077 GB, free: 12.71 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.8733, allocations: 4 kB / 0.9077 GB, free: 12.71 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006026/0.8739, allocations: 88.77 kB / 0.9078 GB, free: 12.62 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.8749, allocations: 227.7 kB / 0.908 GB, free: 12.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.8773, allocations: 1.648 MB / 0.9096 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008786/0.8782, allocations: 129.4 kB / 0.9098 GB, free: 10.48 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.883e-05/0.8782, allocations: 43.97 kB / 0.9098 GB, free: 10.44 MB / 0.67 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.0006/0.8788, allocations: 321.5 kB / 0.9101 GB, free: 10.11 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/0.8791, allocations: 123.3 kB / 0.9102 GB, free: 9.992 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002973/0.882, allocations: 1.334 MB / 0.9115 GB, free: 8.652 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.882, allocations: 8 kB / 0.9115 GB, free: 8.645 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.882, allocations: 0 / 0.9115 GB, free: 8.645 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.8821, allocations: 12.06 kB / 0.9115 GB, free: 8.633 MB / 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 postOpt removeSimpleEquations (simulation): time 0.004608/0.8867, allocations: 2.689 MB / 0.9142 GB, free: 5.855 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.8867, allocations: 0 / 0.9142 GB, free: 5.855 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009623/0.8876, allocations: 215.7 kB / 0.9144 GB, free: 5.645 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004197/0.8881, allocations: 72.78 kB / 0.9144 GB, free: 5.57 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.886e-05/0.8881, allocations: 31.92 kB / 0.9145 GB, free: 5.539 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.8901, allocations: 1.678 MB / 0.9161 GB, free: 3.715 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8901, allocations: 3.938 kB / 0.9161 GB, free: 3.711 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/0.8927, allocations: 1.233 MB / 0.9173 GB, free: 2.461 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006017/0.8933, allocations: 339.9 kB / 0.9176 GB, free: 2.109 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.8934, allocations: 23.98 kB / 0.9177 GB, free: 2.086 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008008/0.8942, allocations: 76.81 kB / 0.9177 GB, free: 2.012 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.8944, allocations: 68.89 kB / 0.9178 GB, free: 1.945 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.038e-05/0.8945, allocations: 47.97 kB / 0.9178 GB, free: 1.898 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008627/0.8953, allocations: 0.5864 MB / 0.9184 GB, free: 1.301 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.8953, allocations: 0 / 0.9184 GB, free: 1.301 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0012/0.8965, allocations: 462.7 kB / 0.9189 GB, free: 0.8477 MB / 0.67 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.004796/0.9013, allocations: 2.399 MB / 0.9212 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002205/0.9035, allocations: 1.004 MB / 0.9222 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.9035, allocations: 4 kB / 0.9222 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.9047, allocations: 0.5977 MB / 0.9228 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/0.9067, allocations: 0.5092 MB / 0.9233 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01568/0.9224, allocations: 8.548 MB / 0.9316 GB, free: 3.789 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/0.9235, allocations: 1.17 MB / 0.9328 GB, free: 2.59 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00165/0.9252, allocations: 377.3 kB / 0.9331 GB, free: 2.219 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009135/0.9261, allocations: 0.5344 MB / 0.9336 GB, free: 1.684 MB / 0.6856 GB Notification: Performance of SimCode: time 1.412e-06/0.9261, allocations: 3.938 kB / 0.9336 GB, free: 1.68 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08325/1.009, allocations: 32.1 MB / 0.965 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.71, allocations: 8 kB / 0.965 GB, free: 1.859 MB / 0.7169 GB " [Timeout remaining time 645] (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: 18.4973286408931] Failed to read output from testmodel.py, exit status != 0: 14.913783823605627 14.942344001 14.103441948 Calling exit ...