Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001525/0.001525, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001648/0.001648, allocations: 219.8 kB / 24.53 MB, free: 4.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 59.91 kB / 378.6 MB, free: 3.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2432, allocations: 53.41 MB / 432 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002543/0.2457, allocations: 1.383 MB / 433.3 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005726/0.2515, allocations: 4.098 MB / 437.4 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.728e-05/0.2515, allocations: 4 kB / 437.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.358e-05/0.2515, allocations: 7.938 kB / 437.5 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001106/0.2526, allocations: 294.9 kB / 437.7 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.2539, allocations: 0.5056 MB / 438.3 MB, free: 400 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.254, allocations: 67.59 kB / 438.3 MB, free: 332 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.318e-05/0.2541, allocations: 3.797 kB / 438.3 MB, free: 332 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.2542, allocations: 39.84 kB / 438.4 MB, free: 292 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007115/0.2549, allocations: 371.3 kB / 438.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.2549, allocations: 0 / 438.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.256, allocations: 0.6473 MB / 439.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.256, allocations: 11.97 kB / 439.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.2561, allocations: 19.88 kB / 439.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007485/0.2568, allocations: 455.5 kB / 439.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.2568, allocations: 7.922 kB / 439.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2568, allocations: 0 / 439.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.2568, allocations: 0 / 439.9 MB, free: 14.79 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005879/0.2574, allocations: 373.3 kB / 440.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.2575, allocations: 8.031 kB / 440.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.548e-05/0.2575, allocations: 192 / 440.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.148e-05/0.2575, allocations: 38.75 kB / 440.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.2576, allocations: 4.891 kB / 440.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.2577, allocations: 126.5 kB / 440.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.2578, allocations: 7.938 kB / 440.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.2578, allocations: 4 kB / 440.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.2579, allocations: 67.33 kB / 440.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2579, allocations: 0 / 440.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.2579, allocations: 0 / 440.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.258, allocations: 7.984 kB / 440.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.305e-05/0.258, allocations: 19.97 kB / 440.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002004/0.2582, allocations: 145.6 kB / 440.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.2585, allocations: 77.12 kB / 440.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.863e-05/0.2586, allocations: 25.77 kB / 440.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003618/0.259, allocations: 115.9 kB / 440.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.259, allocations: 38.56 kB / 440.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.259, allocations: 3.938 kB / 440.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003077/0.2593, allocations: 85.53 kB / 441 MB, free: 13.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.2594, allocations: 81.11 kB / 441.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.2595, allocations: 117.8 kB / 441.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.2595, allocations: 29.64 kB / 441.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.2595, allocations: 80.14 kB / 441.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.245e-05/0.2596, allocations: 23.8 kB / 441.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.2596, allocations: 25.7 kB / 441.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.2598, allocations: 318.8 kB / 441.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.731e-05/0.2598, allocations: 11.98 kB / 441.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-05/0.2599, allocations: 35.42 kB / 441.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.26, allocations: 67.3 kB / 441.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.26, allocations: 0 / 441.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002006/0.2603, allocations: 85.55 kB / 441.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.2603, allocations: 11.94 kB / 441.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2603, allocations: 0 / 441.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.2603, allocations: 0 / 441.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.632e-05/0.2604, allocations: 19.92 kB / 441.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.2604, allocations: 8.062 kB / 441.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.171e-05/0.2604, allocations: 480 / 441.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.2604, allocations: 4 kB / 441.9 MB, free: 12.52 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.69e-05/0.2605, allocations: 117.8 kB / 442 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.2605, allocations: 7.953 kB / 442 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003812/0.2609, allocations: 133.2 kB / 442.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.2609, allocations: 11.98 kB / 442.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2609, allocations: 0 / 442.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2609, allocations: 0 / 442.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.2611, allocations: 144.7 kB / 442.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2611, allocations: 0 / 442.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.922e-05/0.2612, allocations: 15.94 kB / 442.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.2612, allocations: 0 / 442.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.2612, allocations: 0 / 442.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.2612, allocations: 7.984 kB / 442.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2612, allocations: 4 kB / 442.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.2615, allocations: 141.8 kB / 442.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.371e-05/0.2615, allocations: 15.97 kB / 442.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.2615, allocations: 0 / 442.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.747e-05/0.2616, allocations: 4 kB / 442.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.2616, allocations: 15.92 kB / 442.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.2616, allocations: 4.062 kB / 442.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.929e-05/0.2617, allocations: 95.75 kB / 442.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2617, allocations: 0 / 442.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004841/0.2622, allocations: 131.5 kB / 442.7 MB, free: 11.61 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001106/0.2633, allocations: 0.8513 MB / 443.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002041/0.2635, allocations: 51.97 kB / 443.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2635, allocations: 0 / 443.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.806e-05/0.2636, allocations: 27.92 kB / 443.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.2638, allocations: 19.55 kB / 443.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.2656, allocations: 1.525 MB / 445.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.2658, allocations: 0.6885 MB / 445.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.626e-05/0.2659, allocations: 27.55 kB / 445.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.266, allocations: 35.36 kB / 445.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.266, allocations: 0 / 445.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02758/0.2936, allocations: 4.542 MB / 450.5 MB, free: 3.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.73, allocations: 4.062 kB / 450.5 MB, free: 3.816 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.087269658048172] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 10.89079303102335 10.905533221 10.64547394 Calling exit ...