Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000774/0.000774, allocations: 106 kB / 18.93 MB, free: 1.137 MB / 13.93 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.0008322/0.0008322, allocations: 216.7 kB / 22.26 MB, free: 2.457 MB / 18.57 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 0.9139/0.9139, allocations: 230.6 MB / 256 MB, free: 3.43 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8129/0.8129, allocations: 203.8 MB / 0.5042 GB, free: 0.6797 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IDEAS_dev_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.001098/0.001098, allocations: 67.89 kB / 0.7182 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5131/0.5142, allocations: 102 MB / 0.8179 GB, free: 24.91 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002572/0.5168, allocations: 1.632 MB / 0.8195 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008985/0.5177, allocations: 0.6115 MB / 0.82 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.058e-05/0.5177, allocations: 8.594 kB / 0.8201 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.5179, allocations: 15.36 kB / 0.8201 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.799e-05/0.5179, allocations: 14.86 kB / 0.8201 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.5182, allocations: 60.3 kB / 0.8201 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.5184, allocations: 87.09 kB / 0.8202 GB, free: 23.27 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.5185, allocations: 34.3 kB / 0.8203 GB, free: 23.26 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.5187, allocations: 46.31 kB / 0.8203 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.558e-05/0.5188, allocations: 45.16 kB / 0.8203 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.5188, allocations: 12.09 kB / 0.8204 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.797e-05/0.5188, allocations: 18.5 kB / 0.8204 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.39e-05/0.5189, allocations: 21.55 kB / 0.8204 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.623e-05/0.5189, allocations: 40.05 kB / 0.8204 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.5191, allocations: 95.89 kB / 0.8205 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.5191, allocations: 0.9062 kB / 0.8205 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5191, allocations: 0.75 kB / 0.8205 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.5191, allocations: 0 / 0.8205 GB, free: 23.13 MB / 0.6355 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.0003964/0.5195, allocations: 342.8 kB / 0.8209 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.5196, allocations: 10.91 kB / 0.8209 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.945e-05/0.5196, allocations: 40.55 kB / 0.8209 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.5198, allocations: 36.34 kB / 0.8209 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.52, allocations: 146.6 kB / 0.8211 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.52, allocations: 2.75 kB / 0.8211 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.52, allocations: 12.47 kB / 0.8211 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.5202, allocations: 111.5 kB / 0.8212 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.5202, allocations: 0 / 0.8212 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.5202, allocations: 5.312 kB / 0.8212 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.5202, allocations: 3.625 kB / 0.8212 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.5204, allocations: 93.55 kB / 0.8213 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.5209, allocations: 354.5 kB / 0.8216 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.521, allocations: 57.64 kB / 0.8217 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.666e-05/0.521, allocations: 48.8 kB / 0.8217 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.5211, allocations: 3.922 kB / 0.8217 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.5211, allocations: 32.31 kB / 0.8218 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.5211, allocations: 1.875 kB / 0.8218 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0003275/0.5214, allocations: 170.3 kB / 0.8219 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.5215, allocations: 55.52 kB / 0.822 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.79e-05/0.5216, allocations: 142.5 kB / 0.8221 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.5216, allocations: 26.81 kB / 0.8222 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.5216, allocations: 104.4 kB / 0.8222 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.5216, allocations: 25.2 kB / 0.8223 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.5217, allocations: 21.42 kB / 0.8223 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.951e-05/0.5217, allocations: 328.4 kB / 0.8226 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.81e-05/0.5218, allocations: 37.39 kB / 0.8226 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-05/0.5218, allocations: 43.22 kB / 0.8227 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.522, allocations: 91.47 kB / 0.8228 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.522, allocations: 5.094 kB / 0.8228 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001823/0.5222, allocations: 136 kB / 0.8229 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.5222, allocations: 4.969 kB / 0.8229 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.5222, allocations: 1.5 kB / 0.8229 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.5222, allocations: 0 / 0.8229 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.155e-05/0.5223, allocations: 18.92 kB / 0.8229 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.5223, allocations: 0 / 0.8229 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.51e-05/0.5223, allocations: 8.562 kB / 0.8229 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.5224, allocations: 2.766 kB / 0.8229 GB, free: 21.31 MB / 0.6355 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 6.288e-05/0.5224, allocations: 126.7 kB / 0.8231 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.5224, allocations: 16.16 kB / 0.8231 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.5227, allocations: 141.8 kB / 0.8232 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.5227, allocations: 1.828 kB / 0.8232 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5227, allocations: 0.625 kB / 0.8232 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.5227, allocations: 0 / 0.8232 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.5228, allocations: 180.8 kB / 0.8234 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.5228, allocations: 4.5 kB / 0.8234 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.048e-05/0.5229, allocations: 22.11 kB / 0.8234 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.5229, allocations: 0.5625 kB / 0.8234 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.5229, allocations: 2.125 kB / 0.8234 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.5229, allocations: 1.641 kB / 0.8234 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5229, allocations: 0.5938 kB / 0.8234 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.5231, allocations: 228.3 kB / 0.8236 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.5232, allocations: 14.64 kB / 0.8236 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.5232, allocations: 5.734 kB / 0.8237 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.03e-05/0.5232, allocations: 7.422 kB / 0.8237 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.5233, allocations: 10.19 kB / 0.8237 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.5233, allocations: 4.188 kB / 0.8237 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.57e-05/0.5233, allocations: 104.9 kB / 0.8238 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5233, allocations: 0 / 0.8238 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001862/0.5235, allocations: 18.23 kB / 0.8238 GB, free: 20.65 MB / 0.6355 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.0003218/0.5239, allocations: 0.7644 MB / 0.8245 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001883/0.524, allocations: 101.5 kB / 0.8246 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.524, allocations: 3.938 kB / 0.8246 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.859e-05/0.5241, allocations: 55.98 kB / 0.8247 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.5243, allocations: 6.062 kB / 0.8247 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.526, allocations: 1.638 MB / 0.8263 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/0.5261, allocations: 0.7052 MB / 0.827 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.583e-05/0.5262, allocations: 12.02 kB / 0.827 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.415e-05/0.5263, allocations: 26.59 kB / 0.827 GB, free: 17.87 MB / 0.6355 GB Notification: Performance of SimCode: time 1.032e-06/0.5263, allocations: 0 / 0.827 GB, free: 17.87 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.5466, allocations: 2.231 MB / 0.8292 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.479/7.026, allocations: 5.047 kB / 0.8292 GB, free: 17.41 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Math_Examples_VectorFunctions.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.098131994018331] Failed to read output from testmodel.py, exit status != 0: 7.103694863151759 7.115137278 6.594192646 Calling exit ...