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.0007676/0.0007676, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.000784/0.000784, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8514/0.8514, allocations: 158.6 MB / 185.7 MB, free: 3.039 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.1863/0.1863, allocations: 36.34 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.473e-06/1.473e-06, allocations: 0 / 414.3 MB, free: 6.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316e-05/1.463e-05, allocations: 6.219 kB / 414.3 MB, free: 6.098 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.3007/0.3007, allocations: 147.5 MB / 0.5486 GB, free: 9.871 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003909/0.3046, allocations: 3.611 MB / 0.5522 GB, free: 6.25 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002915/0.3049, allocations: 7.938 kB / 0.5522 GB, free: 6.242 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006679/0.3056, allocations: 266.2 kB / 0.5524 GB, free: 5.98 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.0007591/0.3064, allocations: 0.5923 MB / 0.553 GB, free: 5.387 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002355/0.3087, allocations: 1.702 MB / 0.5547 GB, free: 3.684 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008764/0.3096, allocations: 1.34 MB / 0.556 GB, free: 2.34 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003733/0.31, allocations: 362.4 kB / 0.5563 GB, free: 1.984 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005935/0.3106, allocations: 0.7051 MB / 0.557 GB, free: 1.277 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007275/0.3113, allocations: 0.4948 MB / 0.5575 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.723e-05/0.3113, allocations: 58.44 kB / 0.5576 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007682/0.3121, allocations: 0.6311 MB / 0.5582 GB, free: 96 kB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00029/0.3124, allocations: 490.7 kB / 0.5586 GB, free: 15.61 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002523/0.3127, allocations: 363 kB / 0.559 GB, free: 15.26 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.3139, allocations: 1.589 MB / 0.5605 GB, free: 13.66 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3139, allocations: 0 / 0.5605 GB, free: 13.66 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3139, allocations: 0 / 0.5605 GB, free: 13.66 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.3139, allocations: 0 / 0.5605 GB, free: 13.66 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.001533/0.3154, allocations: 1.473 MB / 0.562 GB, free: 12.16 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3155, allocations: 8.031 kB / 0.562 GB, free: 12.15 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.722e-05/0.3156, allocations: 98.45 kB / 0.5621 GB, free: 12.04 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004013/0.316, allocations: 191.1 kB / 0.5623 GB, free: 11.86 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000846/0.3168, allocations: 0.806 MB / 0.563 GB, free: 11.01 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.3168, allocations: 37.31 kB / 0.5631 GB, free: 10.97 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.099e-05/0.3169, allocations: 59.95 kB / 0.5631 GB, free: 10.91 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008396/0.3177, allocations: 1.054 MB / 0.5642 GB, free: 9.742 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.3177, allocations: 0 / 0.5642 GB, free: 9.742 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.182e-05/0.3178, allocations: 24 kB / 0.5642 GB, free: 9.719 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/0.3178, allocations: 12 kB / 0.5642 GB, free: 9.707 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007728/0.3186, allocations: 0.493 MB / 0.5647 GB, free: 9.211 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.002389/0.321, allocations: 1.978 MB / 0.5666 GB, free: 7.18 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.3212, allocations: 190.5 kB / 0.5668 GB, free: 6.984 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.074e-05/0.3213, allocations: 72.83 kB / 0.5669 GB, free: 6.91 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/0.3214, allocations: 35.91 kB / 0.5669 GB, free: 6.875 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.3214, allocations: 38.56 kB / 0.5669 GB, free: 6.828 MB / 474.7 MB Notification: Performance of pre-optimization done (n=20): time 1.443e-06/0.3214, allocations: 0 / 0.5669 GB, free: 6.828 MB / 474.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004454/0.3219, allocations: 365.5 kB / 0.5673 GB, free: 6.465 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.3219, allocations: 55.41 kB / 0.5673 GB, free: 6.398 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.3233, allocations: 1.91 MB / 0.5692 GB, free: 4.469 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.3233, allocations: 37.69 kB / 0.5692 GB, free: 4.426 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000308/0.3236, allocations: 0.576 MB / 0.5698 GB, free: 3.844 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.3237, allocations: 79.33 kB / 0.5699 GB, free: 3.766 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.167e-05/0.3237, allocations: 78.02 kB / 0.57 GB, free: 3.684 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.989e-05/0.3238, allocations: 322 kB / 0.5703 GB, free: 3.363 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.324, allocations: 138.6 kB / 0.5704 GB, free: 3.227 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.3242, allocations: 230.6 kB / 0.5706 GB, free: 2.949 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.3245, allocations: 337.3 kB / 0.5709 GB, free: 2.574 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3245, allocations: 4 kB / 0.5709 GB, free: 2.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008408/0.3253, allocations: 0.5082 MB / 0.5714 GB, free: 2.055 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3253, allocations: 10.48 kB / 0.5714 GB, free: 2.047 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.3253, allocations: 4.438 kB / 0.5714 GB, free: 2.043 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.3253, allocations: 15.94 kB / 0.5715 GB, free: 2.027 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/0.3257, allocations: 111.9 kB / 0.5716 GB, free: 1.918 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006341/0.3263, allocations: 1.789 MB / 0.5733 GB, free: 60 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.3265, allocations: 79.55 kB / 0.5734 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.3266, allocations: 23.98 kB / 0.5734 GB, free: 15.95 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.0003362/0.3269, allocations: 381.8 kB / 0.5738 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.327, allocations: 127.2 kB / 0.5739 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003561/0.3274, allocations: 347.4 kB / 0.5742 GB, free: 15.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3274, allocations: 0 / 0.5742 GB, free: 15.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.3274, allocations: 4 kB / 0.5742 GB, free: 15.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3274, allocations: 0 / 0.5742 GB, free: 15.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004969/0.3279, allocations: 0.589 MB / 0.5748 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3279, allocations: 0 / 0.5748 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.3281, allocations: 72.88 kB / 0.5749 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3281, allocations: 3.984 kB / 0.5749 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.3281, allocations: 7.984 kB / 0.5749 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005557/0.3286, allocations: 1.782 MB / 0.5766 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3286, allocations: 7.969 kB / 0.5766 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003983/0.329, allocations: 0.4937 MB / 0.5771 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.3292, allocations: 179.1 kB / 0.5773 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.465e-05/0.3293, allocations: 0 / 0.5773 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.3295, allocations: 28.31 kB / 0.5773 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.3295, allocations: 15.98 kB / 0.5773 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.3295, allocations: 18.34 kB / 0.5774 GB, free: 11.77 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001251/0.3308, allocations: 1.362 MB / 0.5787 GB, free: 10.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3308, allocations: 0 / 0.5787 GB, free: 10.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004158/0.3312, allocations: 235.6 kB / 0.5789 GB, free: 10.18 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.001344/0.3325, allocations: 1.441 MB / 0.5803 GB, free: 8.723 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004069/0.333, allocations: 284.4 kB / 0.5806 GB, free: 8.445 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.333, allocations: 4.062 kB / 0.5806 GB, free: 8.441 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.3331, allocations: 108.3 kB / 0.5807 GB, free: 8.336 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008971/0.334, allocations: 380.1 kB / 0.5811 GB, free: 7.961 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.344, allocations: 10.88 MB / 0.5917 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.3444, allocations: 0.5095 MB / 0.5922 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000651/0.345, allocations: 232.5 kB / 0.5924 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000309/0.3453, allocations: 404.4 kB / 0.5928 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.3453, allocations: 0 / 0.5928 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1862/0.5316, allocations: 32.07 MB / 0.6241 GB, free: 187 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.102/8.634, allocations: 1.375 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 & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.694379231892526] Failed to read output from testmodel.py, exit status != 0: 8.774324235506356 8.783610269 8.46801533 Calling exit ...