Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.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.0008752/0.0008752, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.00086/0.00086, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8699/0.8699, allocations: 158.6 MB / 185.7 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1782/0.1782, allocations: 36.35 MB / 274.3 MB, free: 10.91 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) 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(ThermoPower.Test.GasComponents.TestCompressorInertia,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCompressorInertia,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 414.3 MB, free: 6.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.515e-05/1.695e-05, allocations: 6.219 kB / 414.3 MB, free: 6.102 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.2649/0.2649, allocations: 147.5 MB / 0.5486 GB, free: 9.906 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003237/0.2681, allocations: 3.608 MB / 0.5522 GB, free: 6.289 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.2683, allocations: 15.88 kB / 0.5522 GB, free: 6.273 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005849/0.2689, allocations: 258.2 kB / 0.5524 GB, free: 6.02 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0006899/0.2696, allocations: 0.5985 MB / 0.553 GB, free: 5.418 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002405/0.272, allocations: 1.69 MB / 0.5547 GB, free: 3.727 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009813/0.273, allocations: 1.352 MB / 0.556 GB, free: 2.371 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003972/0.2734, allocations: 350.4 kB / 0.5563 GB, free: 2.027 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006377/0.274, allocations: 0.7051 MB / 0.557 GB, free: 1.32 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004603/0.2745, allocations: 0.4948 MB / 0.5575 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.488e-05/0.2746, allocations: 62.44 kB / 0.5575 GB, free: 0.7656 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007666/0.2753, allocations: 0.6311 MB / 0.5582 GB, free: 136 kB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002735/0.2756, allocations: 490.7 kB / 0.5586 GB, free: 15.65 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002395/0.2758, allocations: 363 kB / 0.559 GB, free: 15.3 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.277, allocations: 1.593 MB / 0.5605 GB, free: 13.7 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.277, allocations: 0 / 0.5605 GB, free: 13.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.185e-06/0.277, allocations: 4 kB / 0.5605 GB, free: 13.7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.277, allocations: 0 / 0.5605 GB, free: 13.7 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001626/0.2786, allocations: 1.461 MB / 0.562 GB, free: 12.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.2787, allocations: 12.03 kB / 0.562 GB, free: 12.19 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.882e-05/0.2787, allocations: 102.5 kB / 0.5621 GB, free: 12.08 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004001/0.2791, allocations: 175.1 kB / 0.5622 GB, free: 11.91 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008016/0.2799, allocations: 0.81 MB / 0.563 GB, free: 11.05 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.28, allocations: 41.31 kB / 0.5631 GB, free: 11.02 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.376e-05/0.28, allocations: 51.95 kB / 0.5631 GB, free: 10.96 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008462/0.2809, allocations: 1.062 MB / 0.5642 GB, free: 9.785 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.2809, allocations: 3.984 kB / 0.5642 GB, free: 9.781 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.881e-05/0.2809, allocations: 28 kB / 0.5642 GB, free: 9.754 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.2809, allocations: 12 kB / 0.5642 GB, free: 9.742 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005141/0.2815, allocations: 496.9 kB / 0.5647 GB, free: 9.254 MB / 474.7 MB 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.002456/0.2839, allocations: 1.986 MB / 0.5666 GB, free: 7.215 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.2842, allocations: 191.1 kB / 0.5668 GB, free: 7.02 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.656e-05/0.2842, allocations: 72.83 kB / 0.5669 GB, free: 6.945 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.2844, allocations: 27.97 kB / 0.5669 GB, free: 6.918 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.2844, allocations: 42.5 kB / 0.5669 GB, free: 6.867 MB / 474.7 MB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.2844, allocations: 0 / 0.5669 GB, free: 6.867 MB / 474.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004652/0.2849, allocations: 365.6 kB / 0.5673 GB, free: 6.504 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.2849, allocations: 59.41 kB / 0.5673 GB, free: 6.434 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/0.2864, allocations: 1.91 MB / 0.5692 GB, free: 4.504 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.2864, allocations: 33.7 kB / 0.5692 GB, free: 4.465 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003292/0.2867, allocations: 0.5799 MB / 0.5698 GB, free: 3.879 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.2868, allocations: 75.31 kB / 0.5699 GB, free: 3.805 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.514e-05/0.2869, allocations: 82.02 kB / 0.57 GB, free: 3.719 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.927e-05/0.287, allocations: 322 kB / 0.5703 GB, free: 3.398 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.2871, allocations: 142.6 kB / 0.5704 GB, free: 3.258 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.2873, allocations: 226.7 kB / 0.5706 GB, free: 2.984 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.2876, allocations: 333.4 kB / 0.5709 GB, free: 2.609 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.2876, allocations: 11.69 kB / 0.5709 GB, free: 2.602 MB / 474.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005374/0.2881, allocations: 0.5043 MB / 0.5714 GB, free: 2.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.2882, allocations: 8 kB / 0.5714 GB, free: 2.082 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.2882, allocations: 4.438 kB / 0.5714 GB, free: 2.078 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.2882, allocations: 11.98 kB / 0.5715 GB, free: 2.066 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/0.2885, allocations: 119.8 kB / 0.5716 GB, free: 1.949 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007166/0.2893, allocations: 1.785 MB / 0.5733 GB, free: 96 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.2895, allocations: 75.39 kB / 0.5734 GB, free: 20 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/0.2896, allocations: 24.03 kB / 0.5734 GB, free: 15.99 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003321/0.2899, allocations: 381.7 kB / 0.5738 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.29, allocations: 127.2 kB / 0.5739 GB, free: 15.49 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003593/0.2904, allocations: 343.4 kB / 0.5742 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2904, allocations: 4 kB / 0.5742 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2904, allocations: 0 / 0.5742 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2904, allocations: 0 / 0.5742 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005056/0.2909, allocations: 0.5929 MB / 0.5748 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2909, allocations: 0 / 0.5748 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.2911, allocations: 68.77 kB / 0.5749 GB, free: 14.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2911, allocations: 0 / 0.5749 GB, free: 14.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.2911, allocations: 15.98 kB / 0.5749 GB, free: 14.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005931/0.2917, allocations: 1.778 MB / 0.5766 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2917, allocations: 3.938 kB / 0.5766 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/0.2921, allocations: 0.4938 MB / 0.5771 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/0.2923, allocations: 179 kB / 0.5773 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.423e-05/0.2924, allocations: 8 kB / 0.5773 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.2926, allocations: 28.31 kB / 0.5773 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.228e-05/0.2926, allocations: 12.02 kB / 0.5773 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.2927, allocations: 27.28 kB / 0.5774 GB, free: 11.81 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00108/0.2937, allocations: 1.354 MB / 0.5787 GB, free: 10.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2937, allocations: 0 / 0.5787 GB, free: 10.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004421/0.2942, allocations: 235.6 kB / 0.5789 GB, free: 10.23 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * 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 (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001426/0.2956, allocations: 1.455 MB / 0.5803 GB, free: 8.754 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004172/0.296, allocations: 276.4 kB / 0.5806 GB, free: 8.484 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.296, allocations: 12.06 kB / 0.5806 GB, free: 8.473 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.2962, allocations: 100.4 kB / 0.5807 GB, free: 8.375 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009459/0.2971, allocations: 384.5 kB / 0.5811 GB, free: 7.996 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.3073, allocations: 10.89 MB / 0.5917 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.3076, allocations: 0.5134 MB / 0.5922 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003916/0.308, allocations: 228.5 kB / 0.5924 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003347/0.3084, allocations: 404.4 kB / 0.5928 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.3084, allocations: 0 / 0.5928 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1707/0.4791, allocations: 32.06 MB / 0.6241 GB, free: 187 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.412/8.891, allocations: 1.281 kB / 0.6241 GB, free: 187 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.78362153377384] Failed to read output from testmodel.py, exit status != 0: 9.010634141042829 9.024138245 8.744685692 Calling exit ...