Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001233/0.001233, allocations: 103.4 kB / 21.96 MB, free: 5.211 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.001297/0.001297, allocations: 214.5 kB / 25.26 MB, free: 3.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 207.7 MB / 236.1 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.001662/0.001662, allocations: 55.22 kB / 348 MB, free: 9.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2442, allocations: 49.15 MB / 397.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06405/0.3082, allocations: 58.95 MB / 456.1 MB, free: 8.039 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006547/0.3148, allocations: 4.959 MB / 461 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002308/0.315, allocations: 11.94 kB / 461.1 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008743/0.3159, allocations: 334 kB / 461.4 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008408/0.3167, allocations: 0.5206 MB / 461.9 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01771/0.3344, allocations: 7.116 MB / 469 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002041/0.3365, allocations: 1.571 MB / 470.6 MB, free: 9.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003104/0.3368, allocations: 153.4 kB / 470.7 MB, free: 9.324 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000921/0.3377, allocations: 0.6425 MB / 471.4 MB, free: 8.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007998/0.3385, allocations: 0.5995 MB / 472 MB, free: 8.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.3386, allocations: 84 kB / 472.1 MB, free: 7.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01754/0.3562, allocations: 9.728 MB / 481.8 MB, free: 14.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004764/0.3567, allocations: 331.2 kB / 482.1 MB, free: 13.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005747/0.3572, allocations: 378.7 kB / 482.5 MB, free: 13.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01286/0.3701, allocations: 5.838 MB / 488.3 MB, free: 7.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3701, allocations: 0 / 488.3 MB, free: 7.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3701, allocations: 3.938 kB / 488.3 MB, free: 7.703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.31e-05/0.3701, allocations: 0 / 488.3 MB, free: 7.703 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003671/0.3738, allocations: 1.518 MB / 489.8 MB, free: 6.148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/0.3739, allocations: 15.98 kB / 489.9 MB, free: 6.133 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.472e-05/0.3739, allocations: 13.31 kB / 489.9 MB, free: 6.121 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001388/0.374, allocations: 118.4 kB / 490 MB, free: 5.996 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004257/0.3744, allocations: 91.5 kB / 490.1 MB, free: 5.906 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006452/0.3751, allocations: 383.2 kB / 490.5 MB, free: 5.508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.711e-05/0.3751, allocations: 49.31 kB / 490.5 MB, free: 5.457 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.3752, allocations: 67.98 kB / 490.6 MB, free: 5.391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001954/0.3772, allocations: 1.216 MB / 491.8 MB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.3772, allocations: 7.938 kB / 491.8 MB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.372e-05/0.3773, allocations: 24 kB / 491.8 MB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.3773, allocations: 16 kB / 491.8 MB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/0.3792, allocations: 1.043 MB / 492.9 MB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01351/0.3927, allocations: 4.151 MB / 497 MB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.3945, allocations: 0.707 MB / 497.7 MB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005873/0.3951, allocations: 391 kB / 498.1 MB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/0.4058, allocations: 2.612 MB / 0.489 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.42e-05/0.4059, allocations: 47.22 kB / 0.489 GB, free: 11.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.916e-06/0.4059, allocations: 0 / 0.489 GB, free: 11.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.009464/0.4153, allocations: 3.167 MB / 0.4921 GB, free: 7.812 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.4154, allocations: 72.41 kB / 0.4922 GB, free: 7.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005036/0.4159, allocations: 352.5 kB / 0.4925 GB, free: 7.375 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.416, allocations: 41.7 kB / 0.4926 GB, free: 7.328 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.4162, allocations: 249.1 kB / 0.4928 GB, free: 7.082 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002939/0.4165, allocations: 317.2 kB / 0.4931 GB, free: 6.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/0.4168, allocations: 158.6 kB / 0.4933 GB, free: 6.605 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.417, allocations: 366.8 kB / 0.4936 GB, free: 6.238 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005953/0.4176, allocations: 369.8 kB / 0.494 GB, free: 5.879 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009587/0.4185, allocations: 488.2 kB / 0.4944 GB, free: 5.371 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001764/0.4203, allocations: 0.9098 MB / 0.4953 GB, free: 4.426 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4203, allocations: 0 / 0.4953 GB, free: 4.426 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002572/0.4229, allocations: 1.129 MB / 0.4964 GB, free: 3.281 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.4229, allocations: 8 kB / 0.4964 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.4229, allocations: 4 kB / 0.4964 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008116/0.4237, allocations: 163.3 kB / 0.4966 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007479/0.4245, allocations: 199.7 kB / 0.4968 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003039/0.4275, allocations: 3.899 MB / 0.5006 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003959/0.4279, allocations: 20.09 kB / 0.5006 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.4e-05/0.428, allocations: 43.98 kB / 0.5007 GB, free: 14.67 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003567/0.4284, allocations: 229.5 kB / 0.5009 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003729/0.4287, allocations: 63.61 kB / 0.5009 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/0.4311, allocations: 1.281 MB / 0.5022 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.4311, allocations: 8 kB / 0.5022 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.4311, allocations: 4 kB / 0.5022 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001827/0.433, allocations: 1.32 MB / 0.5035 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003038/0.436, allocations: 1.807 MB / 0.5052 GB, free: 9.723 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.436, allocations: 0 / 0.5052 GB, free: 9.723 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006885/0.4367, allocations: 159.8 kB / 0.5054 GB, free: 9.566 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001762/0.4385, allocations: 293.4 kB / 0.5057 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.41e-05/0.4385, allocations: 31.98 kB / 0.5057 GB, free: 9.242 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008638/0.4394, allocations: 1.293 MB / 0.507 GB, free: 7.902 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4394, allocations: 0 / 0.507 GB, free: 7.902 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.442, allocations: 1.429 MB / 0.5084 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.4421, allocations: 55.66 kB / 0.5084 GB, free: 6.391 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.4422, allocations: 24 kB / 0.5084 GB, free: 6.367 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00051/0.4427, allocations: 27.98 kB / 0.5085 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.4428, allocations: 57.08 kB / 0.5085 GB, free: 6.285 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.341e-05/0.4429, allocations: 51.95 kB / 0.5086 GB, free: 6.234 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000335/0.4433, allocations: 283 kB / 0.5088 GB, free: 5.957 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4433, allocations: 0 / 0.5088 GB, free: 5.957 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003656/0.4469, allocations: 1.407 MB / 0.5102 GB, free: 4.547 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008659/0.4556, allocations: 3.613 MB / 0.5137 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002222/0.4578, allocations: 1.109 MB / 0.5148 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.4578, allocations: 0 / 0.5148 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009027/0.4587, allocations: 479.2 kB / 0.5153 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/0.4605, allocations: 382.8 kB / 0.5157 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/0.4728, allocations: 7.08 MB / 0.5226 GB, free: 7.629 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.4732, allocations: 318 kB / 0.5229 GB, free: 7.293 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007437/0.4739, allocations: 205.2 kB / 0.5231 GB, free: 7.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/0.4743, allocations: 231.3 kB / 0.5233 GB, free: 6.863 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4743, allocations: 0 / 0.5233 GB, free: 6.863 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2698/0.7441, allocations: 60.36 MB / 0.5822 GB, free: 148.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/15.38, allocations: 10.41 kB / 0.5822 GB, free: 148.1 MB / 478.1 MB " [Timeout remaining time 644] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 67.75928424997255] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.T', 'volume.medium.Xi[1]', 'volume.medium.p', 'volume1.medium.T', 'volume1.medium.Xi[1]', 'volume1.medium.p'] 15.577540984959342 15.586492264 15.214220219 Calling exit ...