Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Fixed2.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.0009812/0.0009812, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.001026/0.001026, allocations: 213.2 kB / 22.25 MB, free: 3.586 MB / 13.93 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 0.9554/0.9554, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7127/0.7127, allocations: 150.8 MB / 463.2 MB, free: 6.465 MB / 362.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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(ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Fixed2,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_PolytropicPerfectGas_Fixed2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Fixed2,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_PolytropicPerfectGas_Fixed2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 87.06 kB / 0.6394 GB, free: 32.42 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.163, allocations: 88.07 MB / 0.7254 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Fixed2): time 1.327/1.49, allocations: 499.6 MB / 1.213 GB, free: 64 kB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.1163/1.607, allocations: 115.5 MB / 1.326 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02641/1.633, allocations: 1.207 MB / 1.327 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.02172/1.655, allocations: 7.453 MB / 1.335 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.06405/1.719, allocations: 20.18 MB / 1.354 GB, free: 6.668 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.04564/1.764, allocations: 15.7 MB / 1.37 GB, free: 11.76 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.06199/1.826, allocations: 35.92 MB / 1.405 GB, free: 176 kB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007225/1.834, allocations: 2.667 MB / 1.407 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03264/1.866, allocations: 15.39 MB / 1.422 GB, free: 14.67 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02265/1.889, allocations: 13.32 MB / 1.435 GB, free: 2.051 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.008459/1.897, allocations: 1.43 MB / 1.437 GB, free: 0.6211 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04234/1.94, allocations: 16.76 MB / 1.453 GB, free: 1.301 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.008472/1.948, allocations: 4.198 MB / 1.457 GB, free: 13.2 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.01927/1.968, allocations: 8.715 MB / 1.466 GB, free: 4.551 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.07516/2.043, allocations: 35.58 MB / 1.5 GB, free: 3.32 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 9.208e-06/2.043, allocations: 0 / 1.5 GB, free: 3.32 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.496e-06/2.043, allocations: 0 / 1.5 GB, free: 3.32 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.001587/2.044, allocations: 0 / 1.5 GB, free: 3.32 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4404 * Number of variables: 4404 Notification: Performance of Generate backend data structure: time 0.04339/2.088, allocations: 23.76 MB / 1.524 GB, free: 11.91 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/2.088, allocations: 8.031 kB / 1.524 GB, free: 11.9 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002759/2.09, allocations: 2.277 MB / 1.526 GB, free: 9.609 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005258/2.096, allocations: 2.703 MB / 1.529 GB, free: 6.891 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02224/2.118, allocations: 12.29 MB / 1.541 GB, free: 10.85 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005593/2.124, allocations: 12.92 MB / 1.553 GB, free: 11.22 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002414/2.126, allocations: 1.687 MB / 1.555 GB, free: 9.535 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0274/2.153, allocations: 17.95 MB / 1.572 GB, free: 7.344 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002129/2.154, allocations: 11.88 kB / 1.572 GB, free: 7.332 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009623/2.155, allocations: 0.6797 MB / 1.573 GB, free: 6.652 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002094/2.155, allocations: 416 kB / 1.573 GB, free: 6.246 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02369/2.178, allocations: 18.37 MB / 1.591 GB, free: 3.84 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.78/2.958, allocations: 42.92 MB / 1.633 GB, free: 0.5346 GB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04024/2.999, allocations: 29.8 MB / 1.662 GB, free: 0.5235 GB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01489/3.014, allocations: 9.069 MB / 1.671 GB, free: 0.5201 GB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06203/3.076, allocations: 30.64 MB / 1.701 GB, free: 0.5067 GB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/3.076, allocations: 294.6 kB / 1.701 GB, free: 0.5064 GB / 1.151 GB Notification: Performance of pre-optimization done (n=2562): time 2.433e-05/3.076, allocations: 0 / 1.701 GB, free: 0.5064 GB / 1.151 GB Notification: Performance of matching and sorting (n=3402): time 0.1025/3.178, allocations: 57.62 MB / 1.758 GB, free: 463.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001649/3.178, allocations: 423.7 kB / 1.758 GB, free: 463.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01377/3.192, allocations: 13.22 MB / 1.771 GB, free: 450.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.003798/3.196, allocations: 0.5407 MB / 1.771 GB, free: 449.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.003238/3.199, allocations: 7.681 MB / 1.779 GB, free: 442.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.007162/3.206, allocations: 11.74 MB / 1.79 GB, free: 431.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00479/3.211, allocations: 4.517 MB / 1.795 GB, free: 427.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 3.324e-05/3.211, allocations: 305.1 kB / 1.795 GB, free: 426.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01189/3.223, allocations: 8.091 MB / 1.803 GB, free: 418.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01465/3.238, allocations: 11.71 MB / 1.814 GB, free: 406.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02443/3.262, allocations: 21.21 MB / 1.835 GB, free: 384 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001448/3.262, allocations: 20 kB / 1.835 GB, free: 384 MB / 1.151 GB Notification: Performance of matching and sorting (n=3754) (initialization): time 0.04912/3.312, allocations: 26.81 MB / 1.861 GB, free: 357.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/3.312, allocations: 40.72 kB / 1.861 GB, free: 357.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001246/3.312, allocations: 68 kB / 1.862 GB, free: 357 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009024/3.321, allocations: 3.136 MB / 1.865 GB, free: 353.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05245/3.373, allocations: 15.75 MB / 1.88 GB, free: 338.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02393/3.397, allocations: 53.69 MB / 1.932 GB, free: 280.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01508/3.412, allocations: 0.7928 MB / 1.933 GB, free: 279.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004911/3.417, allocations: 1.078 MB / 1.934 GB, free: 278.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 318 * 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 (3610): * Single equations (assignments): 3574 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 36 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 30 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,10,100.0%), (2,9,100.0%), (2,9,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,10,100.0%), (2,9,100.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,10), (1,10), (1,10), (1,10), (1,10), (1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.009089/3.426, allocations: 2.993 MB / 1.937 GB, free: 275.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005187/3.431, allocations: 2.608 MB / 1.94 GB, free: 273.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1025/3.534, allocations: 157.9 MB / 2.094 GB, free: 114.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.874e-05/3.534, allocations: 296 kB / 2.094 GB, free: 114.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001185/3.534, allocations: 16 kB / 2.094 GB, free: 114.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001946/3.534, allocations: 151.4 kB / 2.094 GB, free: 114.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.451/4.985, allocations: 436.1 MB / 2.52 GB, free: 235.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00118/4.986, allocations: 428 kB / 2.521 GB, free: 235.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02537/5.012, allocations: 8.605 MB / 2.529 GB, free: 228.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007605/5.019, allocations: 2.597 MB / 2.532 GB, free: 226.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005163/5.024, allocations: 1.112 MB / 2.533 GB, free: 225.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01704/5.041, allocations: 37.01 MB / 2.569 GB, free: 187.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002412/5.042, allocations: 0.6611 MB / 2.569 GB, free: 186.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06082/5.102, allocations: 66.36 MB / 2.634 GB, free: 113.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01541/5.118, allocations: 4.013 MB / 2.638 GB, free: 111.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008673/5.126, allocations: 1.131 MB / 2.639 GB, free: 110.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02137/5.148, allocations: 0.9719 MB / 2.64 GB, free: 109.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007538/5.155, allocations: 3.454 MB / 2.644 GB, free: 107.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005049/5.16, allocations: 1.361 MB / 2.645 GB, free: 106 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.01595/5.176, allocations: 9.556 MB / 2.654 GB, free: 98.13 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.81e-07/5.176, allocations: 0 / 2.654 GB, free: 98.13 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.03437/5.211, allocations: 6.914 MB / 2.661 GB, free: 91.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1954 * 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 (3040): * Single equations (assignments): 3016 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,7,100.0%), (1,1,100.0%), (1,1,100.0%), (1,7,100.0%), (1,7,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,7,100.0%), (1,1,100.0%), (1,1,100.0%), (1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,10), (1,10), (1,10), (1,10), (1,10), (1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.07098/5.282, allocations: 71.96 MB / 2.731 GB, free: 13.23 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.44/5.722, allocations: 24.88 MB / 2.756 GB, free: 482.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 0.0004388/5.722, allocations: 63.97 kB / 2.756 GB, free: 482.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.02324/5.745, allocations: 13.31 MB / 2.769 GB, free: 478.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05171/5.797, allocations: 10.9 MB / 2.779 GB, free: 477.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3337/6.131, allocations: 225.2 MB / 2.999 GB, free: 298.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01571/6.146, allocations: 8.902 MB / 3.008 GB, free: 289.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.02914/6.176, allocations: 4.541 MB / 3.012 GB, free: 285.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01686/6.192, allocations: 11.08 MB / 3.023 GB, free: 274.4 MB / 1.151 GB Notification: Performance of SimCode: time 2.394e-06/6.192, allocations: 3.938 kB / 3.023 GB, free: 274.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.959/7.151, allocations: 0.6 GB / 3.623 GB, free: 156.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 44.33/51.49, allocations: 11.97 kB / 3.623 GB, free: 156.5 MB / 1.151 GB " [Timeout remaining time 608] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Fixed2.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Fixed2.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Fixed2.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Fixed2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Fixed2_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_PolytropicPerfectGas_Fixed2_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_PolytropicPerfectGas_Fixed2.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Fixed2.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 55.949292158707976] Failed to read output from testmodel.py, exit status != 0: 51.91854654252529 51.925267067 49.880754712 Calling exit ...