Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Average.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.001273/0.001273, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001308/0.001308, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.474/1.474, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.8658/0.8658, allocations: 133.9 MB / 443.5 MB, free: 13.76 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.Average,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Average",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Average,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Average",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.001847/0.001847, allocations: 69.75 kB / 0.6141 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1759, allocations: 85.85 MB / 0.698 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002929/0.1788, allocations: 1.551 MB / 0.6995 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003276/0.1792, allocations: 121.4 kB / 0.6996 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.862e-05/0.1792, allocations: 1.375 kB / 0.6996 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.1793, allocations: 13.23 kB / 0.6996 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.65e-05/0.1793, allocations: 5.312 kB / 0.6996 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.1795, allocations: 26.78 kB / 0.6996 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.209e-05/0.1796, allocations: 59.2 kB / 0.6997 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1797, allocations: 17.61 kB / 0.6997 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.291e-05/0.1798, allocations: 26.91 kB / 0.6997 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.474e-05/0.1798, allocations: 36.09 kB / 0.6998 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.1799, allocations: 5.5 kB / 0.6998 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.263e-05/0.1799, allocations: 16.19 kB / 0.6998 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.884e-05/0.18, allocations: 12.11 kB / 0.6998 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.652e-05/0.18, allocations: 29.3 kB / 0.6998 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.1801, allocations: 62.34 kB / 0.6999 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1801, allocations: 0 / 0.6999 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.12e-07/0.1801, allocations: 0 / 0.6999 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.1801, allocations: 0 / 0.6999 GB, free: 12.2 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005627/0.1807, allocations: 384 kB / 0.7002 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1807, allocations: 11.3 kB / 0.7003 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.766e-05/0.1808, allocations: 1.562 kB / 0.7003 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.1808, allocations: 37.5 kB / 0.7003 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.1808, allocations: 7.641 kB / 0.7003 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.181, allocations: 183.2 kB / 0.7005 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.181, allocations: 1.75 kB / 0.7005 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.181, allocations: 3.125 kB / 0.7005 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.1813, allocations: 97.52 kB / 0.7006 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1813, allocations: 3.938 kB / 0.7006 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.1813, allocations: 0 / 0.7006 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1813, allocations: 1.375 kB / 0.7006 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.1817, allocations: 85.52 kB / 0.7007 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005431/0.1822, allocations: 335.6 kB / 0.701 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.1824, allocations: 58.53 kB / 0.701 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.1826, allocations: 38.92 kB / 0.7011 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.1826, allocations: 2.438 kB / 0.7011 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.1827, allocations: 39.95 kB / 0.7011 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1827, allocations: 0 / 0.7011 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005583/0.1832, allocations: 137.7 kB / 0.7012 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.1833, allocations: 52.25 kB / 0.7013 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.413e-05/0.1834, allocations: 118.4 kB / 0.7014 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.1834, allocations: 27.11 kB / 0.7014 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.069e-05/0.1834, allocations: 95.08 kB / 0.7015 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.1835, allocations: 9.203 kB / 0.7015 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.1835, allocations: 16.66 kB / 0.7015 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1836, allocations: 320.6 kB / 0.7019 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.1838, allocations: 37.69 kB / 0.7019 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.1839, allocations: 34.61 kB / 0.7019 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.1842, allocations: 79.78 kB / 0.702 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1842, allocations: 4 kB / 0.702 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000342/0.1846, allocations: 99.36 kB / 0.7021 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1846, allocations: 9.453 kB / 0.7021 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1846, allocations: 0 / 0.7021 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1846, allocations: 1.406 kB / 0.7021 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1847, allocations: 13.77 kB / 0.7021 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1847, allocations: 0 / 0.7021 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.289e-05/0.1848, allocations: 19.02 kB / 0.7021 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.1848, allocations: 9.5 kB / 0.7021 GB, free: 10.08 MB / 0.5137 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 (3): * Single equations (assignments): 3 * 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.595e-05/0.1849, allocations: 118.3 kB / 0.7023 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.1849, allocations: 6.797 kB / 0.7023 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003952/0.1853, allocations: 119.4 kB / 0.7024 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1853, allocations: 1.719 kB / 0.7024 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1853, allocations: 0 / 0.7024 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.1853, allocations: 0 / 0.7024 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.1856, allocations: 178.2 kB / 0.7026 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1856, allocations: 1.625 kB / 0.7026 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.1857, allocations: 17.19 kB / 0.7026 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1857, allocations: 1.125 kB / 0.7026 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.1857, allocations: 0 / 0.7026 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1857, allocations: 5.328 kB / 0.7026 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1857, allocations: 4 kB / 0.7026 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000404/0.1861, allocations: 211.3 kB / 0.7028 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.1861, allocations: 78.48 kB / 0.7029 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.1861, allocations: 1.281 kB / 0.7029 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.1863, allocations: 18.77 kB / 0.7029 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.1863, allocations: 6.734 kB / 0.7029 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.1863, allocations: 1.375 kB / 0.7029 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.407e-05/0.1864, allocations: 95.45 kB / 0.703 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1864, allocations: 0 / 0.703 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002301/0.1866, allocations: 9.625 kB / 0.703 GB, free: 9.262 MB / 0.5137 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 (3): * Single equations (assignments): 3 * 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.0008526/0.1874, allocations: 0.735 MB / 0.7037 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003575/0.1878, allocations: 74.55 kB / 0.7038 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1878, allocations: 4 kB / 0.7038 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.188, allocations: 38.55 kB / 0.7038 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.1883, allocations: 7.125 kB / 0.7038 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.1905, allocations: 1.434 MB / 0.7052 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.1909, allocations: 0.6922 MB / 0.7059 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.662e-05/0.1909, allocations: 11.92 kB / 0.7059 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.878e-05/0.191, allocations: 19.44 kB / 0.7059 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of SimCode: time 4.31e-07/0.191, allocations: 0 / 0.7059 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.2091, allocations: 1.855 MB / 0.7077 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.213/8.422, allocations: 8.859 kB / 0.7077 GB, free: 4.516 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_Average.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.190232263004873] Failed to read output from testmodel.py, exit status != 0: 8.848719844012521 8.574499626 8.389679041 Calling exit ...