Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001761/0.001761, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002041/0.002041, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 68.77 kB / 378.5 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2774, allocations: 53.36 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4258/0.7032, allocations: 152.7 MB / 0.5709 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.7055, allocations: 2.571 MB / 0.5734 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.694e-05/0.7056, allocations: 0 / 0.5734 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.7058, allocations: 30.95 kB / 0.5734 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009612/0.7067, allocations: 331.4 kB / 0.5737 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.7069, allocations: 65.95 kB / 0.5738 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.7071, allocations: 104 kB / 0.5739 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.966e-05/0.7071, allocations: 2.688 kB / 0.5739 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.7072, allocations: 48.58 kB / 0.5739 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.751e-05/0.7073, allocations: 47 kB / 0.574 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.7073, allocations: 2.094 kB / 0.574 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006413/0.708, allocations: 370.5 kB / 0.5743 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.708, allocations: 8.891 kB / 0.5744 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.581e-05/0.708, allocations: 36.78 kB / 0.5744 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004284/0.7084, allocations: 312.4 kB / 0.5747 GB, free: 12.77 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.7084, allocations: 1.125 kB / 0.5747 GB, free: 12.77 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.7085, allocations: 0 / 0.5747 GB, free: 12.77 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.7085, allocations: 2.5 kB / 0.5747 GB, free: 12.77 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000899/0.7094, allocations: 400.2 kB / 0.5751 GB, free: 12.46 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.7094, allocations: 7.5 kB / 0.5751 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.7094, allocations: 36.34 kB / 0.5751 GB, free: 12.42 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005555/0.715, allocations: 464.4 kB / 0.5756 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.7151, allocations: 118.3 kB / 0.5757 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.7151, allocations: 10.69 kB / 0.5757 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.507e-05/0.7152, allocations: 4.906 kB / 0.5757 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006856/0.7159, allocations: 296.7 kB / 0.576 GB, free: 12.24 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.7159, allocations: 5.766 kB / 0.576 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.191e-05/0.716, allocations: 7.5 kB / 0.576 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.716, allocations: 2.875 kB / 0.576 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007305/0.7167, allocations: 275.2 kB / 0.5762 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002761/0.717, allocations: 225.4 kB / 0.5765 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000384/0.7174, allocations: 154.9 kB / 0.5766 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.7175, allocations: 80.77 kB / 0.5767 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.7176, allocations: 3.297 kB / 0.5767 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.7176, allocations: 33.47 kB / 0.5767 GB, free: 11.97 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/0.7176, allocations: 0 / 0.5767 GB, free: 11.97 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.001951/0.7196, allocations: 0.5856 MB / 0.5773 GB, free: 11.89 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.7196, allocations: 53.97 kB / 0.5773 GB, free: 11.83 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.33e-05/0.7197, allocations: 106 kB / 0.5774 GB, free: 11.73 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.7197, allocations: 31.67 kB / 0.5775 GB, free: 11.7 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.7198, allocations: 84.2 kB / 0.5776 GB, free: 11.62 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.949e-05/0.7199, allocations: 84.31 kB / 0.5776 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.878e-05/0.7199, allocations: 47.81 kB / 0.5777 GB, free: 11.55 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.7201, allocations: 326.8 kB / 0.578 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.7204, allocations: 96.3 kB / 0.5781 GB, free: 11.23 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/0.7206, allocations: 106.6 kB / 0.5782 GB, free: 11.23 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005436/0.7211, allocations: 231.7 kB / 0.5784 GB, free: 11.21 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.7212, allocations: 0 / 0.5784 GB, free: 11.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000632/0.7218, allocations: 281.9 kB / 0.5787 GB, free: 11.17 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.7218, allocations: 5.188 kB / 0.5787 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.7218, allocations: 4 kB / 0.5787 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.7218, allocations: 6.719 kB / 0.5787 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/0.7223, allocations: 55.36 kB / 0.5787 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.7223, allocations: 1.203 kB / 0.5787 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.7225, allocations: 16.03 kB / 0.5788 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.7226, allocations: 10.2 kB / 0.5788 GB, free: 11.16 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.7227, allocations: 129 kB / 0.5789 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.7227, allocations: 9.172 kB / 0.5789 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008063/0.7235, allocations: 350 kB / 0.5792 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.7235, allocations: 6.219 kB / 0.5792 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.7235, allocations: 4 kB / 0.5792 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.7235, allocations: 2.625 kB / 0.5792 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.725, allocations: 0.6947 MB / 0.5799 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.725, allocations: 0 / 0.5799 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003929/0.7254, allocations: 67.62 kB / 0.58 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.7254, allocations: 2.531 kB / 0.58 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.7254, allocations: 10.89 kB / 0.58 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.7254, allocations: 2.469 kB / 0.58 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.7254, allocations: 3.438 kB / 0.58 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007207/0.7261, allocations: 412.9 kB / 0.5804 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.052e-05/0.7262, allocations: 15.31 kB / 0.5804 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.7262, allocations: 8.656 kB / 0.5804 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.7265, allocations: 20.27 kB / 0.5804 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.7265, allocations: 18.03 kB / 0.5805 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.7266, allocations: 15.69 kB / 0.5805 GB, free: 10.43 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.391e-05/0.7266, allocations: 85.91 kB / 0.5806 GB, free: 10.35 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7266, allocations: 0 / 0.5806 GB, free: 10.35 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003326/0.727, allocations: 56.84 kB / 0.5806 GB, free: 10.35 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001207/0.7282, allocations: 0.968 MB / 0.5816 GB, free: 9.625 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006452/0.7288, allocations: 247.1 kB / 0.5818 GB, free: 9.609 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7288, allocations: 0 / 0.5818 GB, free: 9.609 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002994/0.7291, allocations: 127.4 kB / 0.5819 GB, free: 9.602 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005084/0.7296, allocations: 58.05 kB / 0.582 GB, free: 9.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003243/0.7329, allocations: 2.122 MB / 0.584 GB, free: 8.266 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.7332, allocations: 0.7038 MB / 0.5847 GB, free: 7.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003301/0.7336, allocations: 62.39 kB / 0.5848 GB, free: 7.535 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.7337, allocations: 51.5 kB / 0.5848 GB, free: 7.523 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.7337, allocations: 0 / 0.5848 GB, free: 7.523 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03052/0.7643, allocations: 5.8 MB / 0.5905 GB, free: 4.605 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.231/8.995, allocations: 0 / 0.5905 GB, free: 4.605 MB / 462.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_IdealGasH2O_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.325008483137935] Failed to read output from testmodel.py, exit status != 0: ['time', 'smoothState.p', 'der_p', 'der_T'] 9.068155388813466 9.092129577 8.378992144 Calling exit ...