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.001887/0.001887, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002239/0.002239, allocations: 214.7 kB / 22.25 MB, free: 4.855 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.451/1.451, allocations: 230.6 MB / 256 MB, free: 7.797 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.8287/0.8287, allocations: 134 MB / 446.4 MB, free: 9.945 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.001965/0.001965, allocations: 70.31 kB / 0.6185 GB, free: 6.875 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1688, allocations: 85.91 MB / 0.7024 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5537/0.7225, allocations: 155.2 MB / 0.8539 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01814/0.7406, allocations: 11.87 MB / 0.8655 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.742, allocations: 43.62 kB / 0.8656 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.7433, allocations: 440.7 kB / 0.866 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002986/0.7463, allocations: 0.9713 MB / 0.8669 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004775/0.7511, allocations: 1.868 MB / 0.8687 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003166/0.7542, allocations: 2.314 MB / 0.871 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002014/0.7562, allocations: 1.263 MB / 0.8722 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004211/0.7604, allocations: 1.433 MB / 0.8736 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.7617, allocations: 0.7659 MB / 0.8744 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002689/0.762, allocations: 168 kB / 0.8745 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002798/0.7648, allocations: 1.271 MB / 0.8758 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004796/0.7653, allocations: 478.5 kB / 0.8762 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00075/0.766, allocations: 0.6531 MB / 0.8769 GB, free: 476 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004013/0.77, allocations: 2.677 MB / 0.8795 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.77, allocations: 0 / 0.8795 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.914e-06/0.77, allocations: 0 / 0.8795 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.715e-05/0.7701, allocations: 3.984 kB / 0.8795 GB, free: 13.78 MB / 0.6544 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.003537/0.7736, allocations: 1.911 MB / 0.8814 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.7737, allocations: 12.62 kB / 0.8814 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002539/0.7739, allocations: 198.3 kB / 0.8816 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00317/0.7771, allocations: 458.4 kB / 0.882 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001914/0.779, allocations: 0.9282 MB / 0.8829 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.999e-05/0.7791, allocations: 98.62 kB / 0.883 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/0.7793, allocations: 132 kB / 0.8831 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002973/0.7823, allocations: 1.97 MB / 0.8851 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/0.7823, allocations: 4 kB / 0.8851 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.7824, allocations: 60 kB / 0.8851 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.511e-05/0.7825, allocations: 32 kB / 0.8851 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002698/0.7852, allocations: 1.485 MB / 0.8866 GB, free: 6.223 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.00744/0.7926, allocations: 3.839 MB / 0.8903 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002541/0.7951, allocations: 1.06 MB / 0.8914 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007993/0.7959, allocations: 411.6 kB / 0.8918 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006285/0.7966, allocations: 116.9 kB / 0.8919 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001405/0.798, allocations: 0.9692 MB / 0.8928 GB, free: 15.63 MB / 0.67 GB Notification: Performance of pre-optimization done (n=98): time 3.056e-06/0.798, allocations: 0 / 0.8928 GB, free: 15.63 MB / 0.67 GB Notification: Performance of matching and sorting (n=98): time 0.004311/0.8023, allocations: 1.471 MB / 0.8943 GB, free: 14.16 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.8024, allocations: 192.9 kB / 0.8945 GB, free: 13.93 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/0.8038, allocations: 0.8866 MB / 0.8953 GB, free: 13.02 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000129/0.8039, allocations: 49.7 kB / 0.8954 GB, free: 12.96 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005898/0.8045, allocations: 0.5868 MB / 0.8959 GB, free: 12.37 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003422/0.8048, allocations: 345 kB / 0.8963 GB, free: 12.03 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002888/0.8051, allocations: 178.6 kB / 0.8964 GB, free: 11.85 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.8053, allocations: 341.9 kB / 0.8968 GB, free: 11.51 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007247/0.806, allocations: 349.8 kB / 0.8971 GB, free: 11.17 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009996/0.807, allocations: 0.6998 MB / 0.8978 GB, free: 10.36 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/0.8087, allocations: 0.8746 MB / 0.8986 GB, free: 9.445 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.8087, allocations: 4 kB / 0.8986 GB, free: 9.441 MB / 0.67 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002722/0.8114, allocations: 1.114 MB / 0.8997 GB, free: 8.312 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.8114, allocations: 8 kB / 0.8997 GB, free: 8.305 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.8115, allocations: 4 kB / 0.8997 GB, free: 8.301 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006009/0.8121, allocations: 85.17 kB / 0.8998 GB, free: 8.215 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.8131, allocations: 227.7 kB / 0.9 GB, free: 7.992 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/0.8153, allocations: 1.532 MB / 0.9015 GB, free: 6.34 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009257/0.8162, allocations: 125.9 kB / 0.9017 GB, free: 6.219 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.339e-05/0.8163, allocations: 47.97 kB / 0.9017 GB, free: 6.172 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.0006076/0.8169, allocations: 331.4 kB / 0.902 GB, free: 5.84 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/0.8171, allocations: 119.2 kB / 0.9021 GB, free: 5.723 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003024/0.8202, allocations: 1.342 MB / 0.9034 GB, free: 4.367 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.8202, allocations: 12 kB / 0.9034 GB, free: 4.355 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.8202, allocations: 0 / 0.9034 GB, free: 4.355 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.8202, allocations: 7.984 kB / 0.9035 GB, free: 4.348 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.004531/0.8247, allocations: 2.4 MB / 0.9058 GB, free: 1.895 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.8247, allocations: 0 / 0.9058 GB, free: 1.895 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009746/0.8257, allocations: 219.7 kB / 0.906 GB, free: 1.68 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000434/0.8261, allocations: 72.8 kB / 0.9061 GB, free: 1.605 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-05/0.8262, allocations: 31.97 kB / 0.9061 GB, free: 1.574 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/0.8282, allocations: 1.562 MB / 0.9076 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8282, allocations: 0 / 0.9076 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002546/0.8307, allocations: 1.237 MB / 0.9088 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006303/0.8313, allocations: 262.8 kB / 0.9091 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.8315, allocations: 31.95 kB / 0.9091 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008255/0.8323, allocations: 67.92 kB / 0.9092 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.8325, allocations: 76.8 kB / 0.9093 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.8326, allocations: 47.95 kB / 0.9093 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008626/0.8334, allocations: 0.6103 MB / 0.9099 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.8334, allocations: 0 / 0.9099 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00118/0.8346, allocations: 474.7 kB / 0.9104 GB, free: 13.07 MB / 0.6856 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.004968/0.8396, allocations: 2.401 MB / 0.9127 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002202/0.8418, allocations: 1.004 MB / 0.9137 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.8418, allocations: 4 kB / 0.9137 GB, free: 9.871 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.843, allocations: 0.5977 MB / 0.9143 GB, free: 9.262 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/0.8451, allocations: 0.508 MB / 0.9148 GB, free: 8.773 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/0.8607, allocations: 8.616 MB / 0.9232 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000678/0.8613, allocations: 0.5962 MB / 0.9238 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001325/0.8627, allocations: 381.4 kB / 0.9241 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008136/0.8635, allocations: 0.5344 MB / 0.9246 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of SimCode: time 1.062e-06/0.8635, allocations: 3.938 kB / 0.9247 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0795/0.943, allocations: 34.83 MB / 0.9587 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/14.95, allocations: 7.938 kB / 0.9587 GB, free: 11.95 MB / 0.7325 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.73184626782313] Failed to read output from testmodel.py, exit status != 0: 15.185190137010068 15.212224388 14.437252381 Calling exit ...