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.001349/0.001349, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001451/0.001451, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.411/1.411, allocations: 207.7 MB / 235.4 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] 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.3134/0.3134, allocations: 49.6 MB / 337.2 MB, free: 3.891 MB / 270.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCompressorInertia,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia",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.002195/0.002195, allocations: 71.89 kB / 477.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.12, allocations: 62.42 MB / 0.5269 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.4288/0.5487, allocations: 147.4 MB / 0.6708 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005653/0.5544, allocations: 3.593 MB / 0.6743 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004373/0.5548, allocations: 11.94 kB / 0.6743 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009204/0.5558, allocations: 262.3 kB / 0.6746 GB, free: 14.01 MB / 0.5137 GB [/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.001367/0.5571, allocations: 0.5873 MB / 0.6752 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004143/0.5613, allocations: 1.674 MB / 0.6768 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001736/0.563, allocations: 1.348 MB / 0.6781 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006644/0.5637, allocations: 365.7 kB / 0.6785 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009618/0.5646, allocations: 0.545 MB / 0.679 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008841/0.5655, allocations: 0.5645 MB / 0.6796 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.5657, allocations: 64 kB / 0.6796 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.5671, allocations: 0.6313 MB / 0.6802 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005019/0.5676, allocations: 482.6 kB / 0.6807 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006712/0.5683, allocations: 453.5 kB / 0.6811 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002106/0.5704, allocations: 1.583 MB / 0.6827 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.5704, allocations: 0 / 0.6827 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5704, allocations: 0 / 0.6827 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.58e-05/0.5704, allocations: 0 / 0.6827 GB, free: 5.719 MB / 0.5137 GB 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.0026/0.573, allocations: 1.469 MB / 0.6841 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.5731, allocations: 12.03 kB / 0.6841 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.905e-05/0.5731, allocations: 17.25 kB / 0.6841 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000136/0.5732, allocations: 98.52 kB / 0.6842 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007716/0.574, allocations: 188.5 kB / 0.6844 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.5754, allocations: 0.8177 MB / 0.6852 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.622e-05/0.5754, allocations: 37.31 kB / 0.6852 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-05/0.5755, allocations: 55.92 kB / 0.6853 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.5768, allocations: 1.058 MB / 0.6863 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.5769, allocations: 3.938 kB / 0.6863 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.353e-05/0.5769, allocations: 24 kB / 0.6864 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.5769, allocations: 16 kB / 0.6864 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007803/0.5777, allocations: 497 kB / 0.6868 GB, free: 1.242 MB / 0.5137 GB 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.004075/0.5818, allocations: 1.986 MB / 0.6888 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.5821, allocations: 195 kB / 0.689 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.5823, allocations: 68.83 kB / 0.689 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002442/0.5825, allocations: 31.97 kB / 0.6891 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.5825, allocations: 38.56 kB / 0.6891 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.5826, allocations: 0 / 0.6891 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20): time 0.0007063/0.5833, allocations: 369 kB / 0.6895 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.5833, allocations: 55.41 kB / 0.6895 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002363/0.5857, allocations: 1.903 MB / 0.6914 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/0.5857, allocations: 33.7 kB / 0.6914 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005367/0.5862, allocations: 0.5799 MB / 0.692 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.774e-05/0.5863, allocations: 75.38 kB / 0.692 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.5865, allocations: 86.02 kB / 0.6921 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.5866, allocations: 321.9 kB / 0.6924 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.5869, allocations: 142.6 kB / 0.6926 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/0.5872, allocations: 233.9 kB / 0.6928 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004727/0.5876, allocations: 342.7 kB / 0.6931 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5876, allocations: 0 / 0.6931 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008803/0.5885, allocations: 0.5047 MB / 0.6936 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.5885, allocations: 8 kB / 0.6936 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.5885, allocations: 4 kB / 0.6936 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.5886, allocations: 4 kB / 0.6936 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005956/0.5892, allocations: 124.9 kB / 0.6937 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.5903, allocations: 1.789 MB / 0.6955 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004668/0.5908, allocations: 75.73 kB / 0.6956 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-05/0.5908, allocations: 24 kB / 0.6956 GB, free: 7.984 MB / 0.5294 GB 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.0005383/0.5914, allocations: 374.1 kB / 0.6959 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.5916, allocations: 131.2 kB / 0.6961 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006216/0.5922, allocations: 346.1 kB / 0.6964 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.5922, allocations: 4 kB / 0.6964 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.5922, allocations: 3.984 kB / 0.6964 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.5922, allocations: 3.938 kB / 0.6964 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008458/0.5931, allocations: 0.5891 MB / 0.697 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.5931, allocations: 0 / 0.697 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003803/0.5935, allocations: 75.89 kB / 0.697 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5935, allocations: 0 / 0.697 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.5935, allocations: 11.98 kB / 0.6971 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001191/0.5947, allocations: 1.777 MB / 0.6988 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5947, allocations: 3.938 kB / 0.6988 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006826/0.5954, allocations: 0.4903 MB / 0.6993 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003753/0.5957, allocations: 175.2 kB / 0.6994 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.5959, allocations: 4.875 kB / 0.6995 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004576/0.5963, allocations: 27.91 kB / 0.6995 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.5964, allocations: 7.984 kB / 0.6995 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.53e-05/0.5964, allocations: 23.97 kB / 0.6995 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001748/0.5982, allocations: 1.366 MB / 0.7008 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5982, allocations: 0 / 0.7008 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000808/0.599, allocations: 239.5 kB / 0.7011 GB, free: 2.211 MB / 0.5294 GB 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.002886/0.6018, allocations: 1.457 MB / 0.7025 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007509/0.6026, allocations: 275.6 kB / 0.7028 GB, free: 472 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.6026, allocations: 4 kB / 0.7028 GB, free: 468 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002941/0.6029, allocations: 99.89 kB / 0.7029 GB, free: 368 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.6046, allocations: 389.2 kB / 0.7032 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0165/0.6211, allocations: 10.85 MB / 0.7138 GB, free: 4.914 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007305/0.6219, allocations: 0.5099 MB / 0.7143 GB, free: 4.371 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007182/0.6226, allocations: 236.6 kB / 0.7145 GB, free: 4.137 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005428/0.6231, allocations: 399.3 kB / 0.7149 GB, free: 3.746 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.6231, allocations: 0 / 0.7149 GB, free: 3.746 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06657/0.6897, allocations: 31.77 MB / 0.746 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.53/16.22, allocations: 3.938 kB / 0.746 GB, free: 3.766 MB / 0.5762 GB " [Timeout remaining time 644] (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: 19.18860431399662] Failed to read output from testmodel.py, exit status != 0: 16.47616120800376 16.492722098 15.919114422 Calling exit ...