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.001109/0.001109, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001363/0.001363, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.8839/0.8839, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.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.7298/0.7298, allocations: 154.5 MB / 413.7 MB, free: 0.8477 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.559e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.001866/0.001881, allocations: 1.597 MB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007595/0.002641, allocations: 0.5766 MB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.064e-05/0.002701, allocations: 4 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.48e-05/0.002796, allocations: 7.875 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.81e-05/0.002824, allocations: 19.73 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.003128, allocations: 63.86 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.00324, allocations: 95.56 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.003392, allocations: 27.98 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.003523, allocations: 55.88 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.946e-05/0.003583, allocations: 35.89 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.003601, allocations: 4 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.503e-05/0.003656, allocations: 15.98 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.58e-05/0.003691, allocations: 23.92 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.003723, allocations: 27.91 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.003855, allocations: 107.5 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.003857, allocations: 0 / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.22e-07/0.003858, allocations: 0 / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.003862, allocations: 4 kB / 0.6206 GB, free: 11.03 MB / 0.5886 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.000393/0.004255, allocations: 329.9 kB / 0.621 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.004291, allocations: 9.469 kB / 0.621 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.93e-05/0.00432, allocations: 38.75 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.004472, allocations: 32.86 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.004638, allocations: 150.1 kB / 0.6212 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.004647, allocations: 384 / 0.6212 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.004658, allocations: 8.375 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.00483, allocations: 117.9 kB / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.004836, allocations: 3.938 kB / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.004846, allocations: 0 / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.004851, allocations: 0 / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.004986, allocations: 95.94 kB / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.005448, allocations: 351.6 kB / 0.6217 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.899e-05/0.005537, allocations: 54.55 kB / 0.6218 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.43e-05/0.005601, allocations: 48.95 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.005632, allocations: 7.922 kB / 0.6218 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.005651, allocations: 34.56 kB / 0.6219 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 8.11e-07/0.005652, allocations: 0 / 0.6219 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0002839/0.005935, allocations: 165.5 kB / 0.622 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.005962, allocations: 55.41 kB / 0.6221 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.633e-05/0.006039, allocations: 144.6 kB / 0.6222 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.006049, allocations: 25.7 kB / 0.6222 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.006091, allocations: 104.1 kB / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.006113, allocations: 23.94 kB / 0.6224 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.006142, allocations: 21.7 kB / 0.6224 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.922e-05/0.006212, allocations: 318.8 kB / 0.6227 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.785e-05/0.006269, allocations: 39.97 kB / 0.6227 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.326e-05/0.006323, allocations: 39.97 kB / 0.6228 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.006439, allocations: 89.17 kB / 0.6229 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.006442, allocations: 4 kB / 0.6229 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001467/0.006588, allocations: 133.5 kB / 0.623 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.0066, allocations: 4 kB / 0.623 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.006605, allocations: 0 / 0.623 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.006617, allocations: 7.938 kB / 0.623 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.988e-05/0.006686, allocations: 15.98 kB / 0.623 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.006692, allocations: 4 kB / 0.623 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.18e-05/0.006723, allocations: 11.94 kB / 0.623 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.006739, allocations: 4 kB / 0.623 GB, free: 8.398 MB / 0.5886 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 5.743e-05/0.006796, allocations: 122.8 kB / 0.6231 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.006821, allocations: 7.953 kB / 0.6232 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.007018, allocations: 146.3 kB / 0.6233 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.007021, allocations: 3.938 kB / 0.6233 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.007024, allocations: 0 / 0.6233 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.007027, allocations: 0 / 0.6233 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.00717, allocations: 176.7 kB / 0.6235 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.007171, allocations: 0 / 0.6235 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/0.007215, allocations: 15.98 kB / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.007217, allocations: 0 / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.007225, allocations: 3.984 kB / 0.6235 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.007227, allocations: 3.938 kB / 0.6235 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.007228, allocations: 11.94 kB / 0.6235 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.007466, allocations: 223.3 kB / 0.6237 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.061e-05/0.007477, allocations: 7.953 kB / 0.6237 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.007489, allocations: 192 / 0.6237 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.927e-05/0.007548, allocations: 15.94 kB / 0.6237 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.007585, allocations: 7.984 kB / 0.6237 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.007595, allocations: 7.984 kB / 0.6238 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.29e-05/0.007637, allocations: 103.3 kB / 0.6239 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9.1e-08/0.007638, allocations: 4 kB / 0.6239 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001635/0.007801, allocations: 19.95 kB / 0.6239 GB, free: 7.453 MB / 0.5886 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.0003974/0.008198, allocations: 0.7631 MB / 0.6246 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001654/0.008364, allocations: 99.92 kB / 0.6247 GB, free: 6.566 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.008365, allocations: 0 / 0.6247 GB, free: 6.566 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.313e-05/0.008428, allocations: 55.91 kB / 0.6248 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.008584, allocations: 8 kB / 0.6248 GB, free: 6.504 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.009754, allocations: 1.622 MB / 0.6264 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.867e-05/0.009813, allocations: 92.3 kB / 0.6264 GB, free: 4.691 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.01e-05/0.009863, allocations: 15.92 kB / 0.6265 GB, free: 4.676 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.664e-05/0.00991, allocations: 36.47 kB / 0.6265 GB, free: 4.641 MB / 0.5886 GB Notification: Performance of SimCode: time 5.61e-07/0.00991, allocations: 0 / 0.6265 GB, free: 4.641 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01379/0.0237, allocations: 2.746 MB / 0.6292 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.215/7.239, allocations: 4.172 kB / 0.6292 GB, free: 2.047 MB / 0.5886 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.063076636753976] Failed to read output from testmodel.py, exit status != 0: 7.320168752223253 7.330421436 7.324887732 Calling exit ...