Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.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.001336/0.001336, allocations: 105.9 kB / 16.45 MB, free: 6.488 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.001372/0.001372, allocations: 216.2 kB / 19.43 MB, free: 3.66 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.484/1.484, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.8807/0.8807, allocations: 134 MB / 442.8 MB, free: 11.29 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.VectorFunctions,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions",fmuType="me",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.001906/0.001906, allocations: 70.02 kB / 0.6134 GB, free: 8.742 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1672, allocations: 85.85 MB / 0.6973 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.003128/0.1703, allocations: 1.632 MB / 0.6989 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.1716, allocations: 0.5931 MB / 0.6994 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.257e-05/0.1716, allocations: 3.938 kB / 0.6994 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.1717, allocations: 11.86 kB / 0.6995 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.954e-05/0.1718, allocations: 19.8 kB / 0.6995 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.1721, allocations: 67.84 kB / 0.6995 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.1723, allocations: 83.7 kB / 0.6996 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.1724, allocations: 36.27 kB / 0.6997 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.1726, allocations: 55.77 kB / 0.6997 GB, free: 468 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.579e-05/0.1727, allocations: 35.84 kB / 0.6997 GB, free: 432 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.1727, allocations: 4 kB / 0.6997 GB, free: 428 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.271e-05/0.1727, allocations: 16 kB / 0.6998 GB, free: 412 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.605e-05/0.1728, allocations: 23.92 kB / 0.6998 GB, free: 388 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.368e-05/0.1729, allocations: 43.72 kB / 0.6998 GB, free: 344 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.173, allocations: 95.52 kB / 0.6999 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.173, allocations: 0 / 0.6999 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.112e-06/0.173, allocations: 0 / 0.6999 GB, free: 248 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.173, allocations: 0 / 0.6999 GB, free: 248 kB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006472/0.1737, allocations: 418.9 kB / 0.7003 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.1737, allocations: 13.11 kB / 0.7003 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.787e-05/0.1738, allocations: 38.73 kB / 0.7004 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003027/0.1741, allocations: 36.86 kB / 0.7004 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.1744, allocations: 215.4 kB / 0.7006 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.1744, allocations: 12.38 kB / 0.7006 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.1744, allocations: 7.938 kB / 0.7006 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.1747, allocations: 101.6 kB / 0.7007 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1747, allocations: 4 kB / 0.7007 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.1747, allocations: 0 / 0.7007 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1747, allocations: 3.938 kB / 0.7007 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.175, allocations: 103.9 kB / 0.7008 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006594/0.1757, allocations: 380.6 kB / 0.7012 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.1758, allocations: 62.48 kB / 0.7012 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.176, allocations: 44.94 kB / 0.7013 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.176, allocations: 8 kB / 0.7013 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.176, allocations: 34.56 kB / 0.7013 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.176, allocations: 0 / 0.7013 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0005054/0.1765, allocations: 165.7 kB / 0.7015 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.1766, allocations: 55.34 kB / 0.7015 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.1767, allocations: 141.8 kB / 0.7017 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.1767, allocations: 29.7 kB / 0.7017 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.794e-05/0.1768, allocations: 108.2 kB / 0.7018 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.1768, allocations: 19.86 kB / 0.7018 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.1769, allocations: 21.7 kB / 0.7018 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.177, allocations: 322.8 kB / 0.7022 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.1771, allocations: 40.03 kB / 0.7022 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.1772, allocations: 39.97 kB / 0.7022 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.1775, allocations: 88.81 kB / 0.7023 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1775, allocations: 0 / 0.7023 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002876/0.1778, allocations: 129.5 kB / 0.7024 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1778, allocations: 6.5 kB / 0.7024 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.1778, allocations: 3.938 kB / 0.7025 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.1778, allocations: 4 kB / 0.7025 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.178, allocations: 19.98 kB / 0.7025 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.178, allocations: 0 / 0.7025 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.885e-05/0.178, allocations: 7.984 kB / 0.7025 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.1781, allocations: 4 kB / 0.7025 GB, free: 13.38 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 (6): * Single equations (assignments): 6 * 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 9.695e-05/0.1782, allocations: 117.8 kB / 0.7026 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/0.1782, allocations: 19.83 kB / 0.7026 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003787/0.1786, allocations: 154.2 kB / 0.7028 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1786, allocations: 0 / 0.7028 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1786, allocations: 0 / 0.7028 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1786, allocations: 0 / 0.7028 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.1789, allocations: 213.6 kB / 0.703 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1789, allocations: 256 / 0.703 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.179, allocations: 23.92 kB / 0.703 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.179, allocations: 0 / 0.703 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.179, allocations: 3.984 kB / 0.703 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.179, allocations: 4 kB / 0.703 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.179, allocations: 4 kB / 0.703 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.1793, allocations: 215.5 kB / 0.7032 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.1794, allocations: 96.92 kB / 0.7033 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.1794, allocations: 3.938 kB / 0.7033 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.775e-05/0.1795, allocations: 4 kB / 0.7033 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/0.1795, allocations: 15.97 kB / 0.7033 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.1796, allocations: 8 kB / 0.7033 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.764e-05/0.1796, allocations: 109.5 kB / 0.7034 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1796, allocations: 0 / 0.7034 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002388/0.1799, allocations: 15.95 kB / 0.7035 GB, free: 12.29 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 (6): * Single equations (assignments): 6 * 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.0007183/0.1806, allocations: 0.767 MB / 0.7042 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003032/0.1809, allocations: 99.86 kB / 0.7043 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1809, allocations: 0 / 0.7043 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.181, allocations: 47.97 kB / 0.7043 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.1812, allocations: 4 kB / 0.7043 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.1833, allocations: 1.625 MB / 0.7059 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.1836, allocations: 0.7002 MB / 0.7066 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.494e-05/0.1837, allocations: 20.17 kB / 0.7066 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.1837, allocations: 31.42 kB / 0.7067 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.1837, allocations: 0 / 0.7067 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.2089, allocations: 2.101 MB / 0.7087 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.983/8.192, allocations: 6.906 kB / 0.7087 GB, free: 6.855 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions.fmu > IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.993828361009946] Failed to read output from testmodel.py, exit status != 0: 8.259924120007781 8.2804704 8.103684059 Calling exit ...