Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.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.001295/0.001295, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001428/0.001428, allocations: 221.3 kB / 23.03 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8515/0.8515, allocations: 134 MB / 447.2 MB, free: 9.945 MB / 350.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/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 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.001972/0.001972, allocations: 66.53 kB / 0.6192 GB, free: 6.891 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1763, allocations: 85.92 MB / 0.7031 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002751/0.1791, allocations: 1.444 MB / 0.7046 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002786/0.1793, allocations: 96.58 kB / 0.7047 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.328e-05/0.1794, allocations: 0 / 0.7047 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.249e-05/0.1794, allocations: 0 / 0.7047 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.074e-05/0.1794, allocations: 7.938 kB / 0.7047 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.1796, allocations: 11.98 kB / 0.7047 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.449e-05/0.1797, allocations: 23.92 kB / 0.7047 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.537e-05/0.1798, allocations: 8 kB / 0.7047 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.506e-05/0.1798, allocations: 15.92 kB / 0.7047 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.663e-05/0.1799, allocations: 11.98 kB / 0.7047 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.1799, allocations: 3.938 kB / 0.7047 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.831e-05/0.1799, allocations: 19.94 kB / 0.7048 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.603e-05/0.18, allocations: 7.922 kB / 0.7048 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.18, allocations: 7.984 kB / 0.7048 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.1801, allocations: 40.11 kB / 0.7048 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1801, allocations: 0 / 0.7048 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.562e-06/0.1801, allocations: 0 / 0.7048 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.1801, allocations: 0 / 0.7048 GB, free: 15.36 MB / 0.5294 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.0004669/0.1806, allocations: 278.2 kB / 0.7051 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.1806, allocations: 8.031 kB / 0.7051 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.436e-05/0.1806, allocations: 4.188 kB / 0.7051 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.997e-05/0.1806, allocations: 30.75 kB / 0.7051 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.1808, allocations: 12.92 kB / 0.7051 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.1809, allocations: 106.5 kB / 0.7052 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.1809, allocations: 4.375 kB / 0.7052 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.1809, allocations: 4.359 kB / 0.7052 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.1811, allocations: 65.97 kB / 0.7053 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1811, allocations: 3.938 kB / 0.7053 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.1812, allocations: 0 / 0.7053 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.1812, allocations: 0 / 0.7053 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.1814, allocations: 47.95 kB / 0.7053 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.1817, allocations: 231.9 kB / 0.7056 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.1819, allocations: 50.55 kB / 0.7056 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.182, allocations: 32.89 kB / 0.7056 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.182, allocations: 0 / 0.7056 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.1821, allocations: 38.5 kB / 0.7057 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.1821, allocations: 0 / 0.7057 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0004895/0.1826, allocations: 101.7 kB / 0.7058 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.1826, allocations: 51.41 kB / 0.7058 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.328e-05/0.1827, allocations: 109.8 kB / 0.7059 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.1827, allocations: 25.7 kB / 0.706 GB, free: 14 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.1828, allocations: 88.14 kB / 0.706 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.1828, allocations: 7.891 kB / 0.706 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.1828, allocations: 17.72 kB / 0.7061 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.183, allocations: 310.8 kB / 0.7064 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.1831, allocations: 23.97 kB / 0.7064 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.1832, allocations: 35.94 kB / 0.7064 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.1834, allocations: 48.75 kB / 0.7065 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1834, allocations: 0 / 0.7065 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002365/0.1836, allocations: 77.66 kB / 0.7065 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1836, allocations: 8.094 kB / 0.7065 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1836, allocations: 0 / 0.7065 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1836, allocations: 7.922 kB / 0.7066 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.1837, allocations: 8 kB / 0.7066 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1837, allocations: 7.922 kB / 0.7066 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.254e-05/0.1838, allocations: 11.95 kB / 0.7066 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.1838, allocations: 0 / 0.7066 GB, free: 13.34 MB / 0.5294 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.402e-05/0.1839, allocations: 117.8 kB / 0.7067 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.1839, allocations: 7.938 kB / 0.7067 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.572e-05/0.1839, allocations: 7.625 kB / 0.7067 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1839, allocations: 0 / 0.7067 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1839, allocations: 0 / 0.7067 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.184, allocations: 0 / 0.7067 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.1841, allocations: 140.7 kB / 0.7068 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1841, allocations: 0 / 0.7068 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.931e-05/0.1842, allocations: 11.98 kB / 0.7069 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/0.1842, allocations: 0 / 0.7069 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.1842, allocations: 0 / 0.7069 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1842, allocations: 0 / 0.7069 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1842, allocations: 4 kB / 0.7069 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.1845, allocations: 179.4 kB / 0.707 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-06/0.1845, allocations: 3.953 kB / 0.707 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.1845, allocations: 0 / 0.707 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.017e-05/0.1846, allocations: 7.984 kB / 0.707 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.1847, allocations: 8 kB / 0.707 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.1847, allocations: 0 / 0.707 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.853e-05/0.1847, allocations: 91.45 kB / 0.7071 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1847, allocations: 4.031 kB / 0.7071 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002107/0.1849, allocations: 4 kB / 0.7071 GB, free: 12.69 MB / 0.5294 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.0005911/0.1855, allocations: 0.7046 MB / 0.7078 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002456/0.1858, allocations: 51.98 kB / 0.7079 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1858, allocations: 0 / 0.7079 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.1859, allocations: 31.91 kB / 0.7079 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.1862, allocations: 4 kB / 0.7079 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004809/0.1866, allocations: 151.2 kB / 0.7081 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.651e-05/0.1867, allocations: 63.2 kB / 0.7081 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.866e-05/0.1867, allocations: 4.125 kB / 0.7081 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.672e-05/0.1868, allocations: 15.42 kB / 0.7081 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.1868, allocations: 0 / 0.7081 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.2079, allocations: 1.715 MB / 0.7098 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.31, allocations: 12 kB / 0.7098 GB, free: 10 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized.fmu > IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.902937749982812] Failed to read output from testmodel.py, exit status != 0: 11.462337524048053 11.47908945 11.295825243 Calling exit ...