Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 104.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.085/1.085, allocations: 175.8 MB / 478.4 MB, free: 3.414 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 73.08 kB / 0.6652 GB, free: 11.19 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2108, allocations: 94.54 MB / 0.7575 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002905/0.2137, allocations: 1.449 MB / 0.7589 GB, free: 108 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003074/0.214, allocations: 96.06 kB / 0.759 GB, free: 12 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.819e-05/0.2141, allocations: 0 / 0.759 GB, free: 12 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.903e-05/0.2141, allocations: 3.938 kB / 0.759 GB, free: 8 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.538e-05/0.2141, allocations: 7.938 kB / 0.759 GB, free: 0 / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.2144, allocations: 16.03 kB / 0.7591 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.366e-05/0.2144, allocations: 23.92 kB / 0.7591 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.2145, allocations: 15.92 kB / 0.7591 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.548e-05/0.2146, allocations: 11.92 kB / 0.7591 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.315e-05/0.2146, allocations: 11.94 kB / 0.7591 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.2146, allocations: 0 / 0.7591 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.033e-05/0.2147, allocations: 15.98 kB / 0.7591 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.838e-05/0.2147, allocations: 11.98 kB / 0.7592 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.2147, allocations: 7.875 kB / 0.7592 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.2149, allocations: 39.88 kB / 0.7592 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2149, allocations: 0 / 0.7592 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2149, allocations: 4 kB / 0.7592 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2149, allocations: 0 / 0.7592 GB, free: 15.84 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005181/0.2154, allocations: 339.4 kB / 0.7595 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.2154, allocations: 15.97 kB / 0.7595 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.827e-05/0.2155, allocations: 30.75 kB / 0.7596 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.2157, allocations: 20.88 kB / 0.7596 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.2158, allocations: 160.4 kB / 0.7597 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.2158, allocations: 4.375 kB / 0.7597 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.2158, allocations: 4.375 kB / 0.7598 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.216, allocations: 58.22 kB / 0.7598 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.2161, allocations: 3.938 kB / 0.7598 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.2161, allocations: 0 / 0.7598 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2161, allocations: 0 / 0.7598 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.2163, allocations: 47.95 kB / 0.7599 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/0.2167, allocations: 264.9 kB / 0.7601 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.2169, allocations: 58.42 kB / 0.7602 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.217, allocations: 32.89 kB / 0.7602 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.217, allocations: 0 / 0.7602 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.2171, allocations: 34.56 kB / 0.7602 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.2171, allocations: 0 / 0.7602 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004209/0.2175, allocations: 109.5 kB / 0.7603 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.2176, allocations: 51.41 kB / 0.7604 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.734e-05/0.2176, allocations: 110 kB / 0.7605 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.2177, allocations: 25.7 kB / 0.7605 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.475e-05/0.2177, allocations: 84.08 kB / 0.7606 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.2178, allocations: 7.953 kB / 0.7606 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.2178, allocations: 17.7 kB / 0.7606 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2179, allocations: 310.8 kB / 0.7609 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.218, allocations: 19.98 kB / 0.7609 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.159e-05/0.2181, allocations: 33.88 kB / 0.761 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.2183, allocations: 48.81 kB / 0.761 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2183, allocations: 3.938 kB / 0.761 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002321/0.2185, allocations: 85.67 kB / 0.7611 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.2186, allocations: 8 kB / 0.7611 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2186, allocations: 0 / 0.7611 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.2186, allocations: 4 kB / 0.7611 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.2187, allocations: 7.984 kB / 0.7611 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.2187, allocations: 4 kB / 0.7611 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.901e-05/0.2187, allocations: 7.984 kB / 0.7611 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.2188, allocations: 4.188 kB / 0.7611 GB, free: 13.63 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.347e-05/0.2188, allocations: 109.8 kB / 0.7612 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.2189, allocations: 11.95 kB / 0.7612 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.2189, allocations: 7.531 kB / 0.7613 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2189, allocations: 0 / 0.7613 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2189, allocations: 4 kB / 0.7613 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2189, allocations: 0 / 0.7613 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.2191, allocations: 165.6 kB / 0.7614 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.2191, allocations: 3.984 kB / 0.7614 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.5e-05/0.2192, allocations: 8 kB / 0.7614 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2192, allocations: 0 / 0.7614 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.2192, allocations: 3.984 kB / 0.7614 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.2192, allocations: 11.88 kB / 0.7614 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2192, allocations: 3.938 kB / 0.7614 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.2195, allocations: 175.5 kB / 0.7616 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.2195, allocations: 85.09 kB / 0.7617 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.2195, allocations: 0 / 0.7617 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.754e-05/0.2196, allocations: 8.031 kB / 0.7617 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.2197, allocations: 3.984 kB / 0.7617 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.2197, allocations: 4 kB / 0.7617 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.926e-05/0.2197, allocations: 83.28 kB / 0.7618 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2197, allocations: 0 / 0.7618 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002099/0.2199, allocations: 4 kB / 0.7618 GB, free: 12.85 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0006255/0.2205, allocations: 0.7162 MB / 0.7625 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002446/0.2208, allocations: 51.94 kB / 0.7625 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.2208, allocations: 4.094 kB / 0.7625 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.2209, allocations: 23.98 kB / 0.7626 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.2212, allocations: 4 kB / 0.7626 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004928/0.2217, allocations: 151.1 kB / 0.7627 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.222, allocations: 0.6806 MB / 0.7634 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.259e-05/0.2221, allocations: 4.062 kB / 0.7634 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.658e-05/0.2221, allocations: 15.44 kB / 0.7634 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.2221, allocations: 0 / 0.7634 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.2466, allocations: 1.451 MB / 0.7648 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/8.359, allocations: 5.25 kB / 0.7648 GB, free: 9.734 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.28048400208354] Failed to read output from testmodel.py, exit status != 0: 8.42704596137628 8.446763927 8.228168563 Calling exit ...