Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.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.001171/0.001171, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.001316/0.001316, allocations: 218.3 kB / 22.26 MB, free: 3.688 MB / 13.93 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.9473/0.9473, allocations: 230.6 MB / 256 MB, free: 9.801 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.8032/0.8032, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.Biquadratic,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Biquadratic,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Biquadratic",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.001374/0.001374, allocations: 69.92 kB / 0.7182 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5882/0.5895, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Biquadratic): time 0.002056/0.5916, allocations: 1.508 MB / 0.8193 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002736/0.5919, allocations: 120.8 kB / 0.8194 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.869e-05/0.5919, allocations: 0 / 0.8194 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.602e-05/0.592, allocations: 4.734 kB / 0.8195 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.94e-05/0.592, allocations: 11.59 kB / 0.8195 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.5922, allocations: 28.12 kB / 0.8195 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.78e-05/0.5923, allocations: 39.08 kB / 0.8195 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.966e-05/0.5924, allocations: 12.72 kB / 0.8195 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.839e-05/0.5924, allocations: 17.48 kB / 0.8196 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.708e-05/0.5925, allocations: 23.12 kB / 0.8196 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.5925, allocations: 5.938 kB / 0.8196 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.375e-05/0.5926, allocations: 17.44 kB / 0.8196 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.204e-05/0.5926, allocations: 17.41 kB / 0.8196 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.5927, allocations: 26.53 kB / 0.8196 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.5928, allocations: 53.02 kB / 0.8197 GB, free: 20 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.5928, allocations: 4 kB / 0.8197 GB, free: 16 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5928, allocations: 7.938 kB / 0.8197 GB, free: 8 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.5928, allocations: 0 / 0.8197 GB, free: 8 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000432/0.5932, allocations: 299 kB / 0.82 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.5933, allocations: 13.05 kB / 0.82 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.914e-05/0.5933, allocations: 35.78 kB / 0.82 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.5933, allocations: 8.766 kB / 0.82 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.295e-05/0.5934, allocations: 110.8 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.5934, allocations: 5.188 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.5934, allocations: 2.5 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.5936, allocations: 77.58 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.5936, allocations: 3.938 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.5936, allocations: 0 / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.5937, allocations: 3.203 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.5938, allocations: 78.31 kB / 0.8203 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.5942, allocations: 259.7 kB / 0.8206 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.5943, allocations: 68.78 kB / 0.8206 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.844e-05/0.5944, allocations: 53.08 kB / 0.8207 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000187/0.5946, allocations: 29.41 kB / 0.8207 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.5946, allocations: 32.69 kB / 0.8207 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.013e-06/0.5946, allocations: 0 / 0.8207 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003488/0.5949, allocations: 150.2 kB / 0.8209 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003008/0.5952, allocations: 55.7 kB / 0.8209 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.793e-05/0.5953, allocations: 121.8 kB / 0.821 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.5953, allocations: 25.7 kB / 0.8211 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/0.5954, allocations: 93.91 kB / 0.8212 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.5954, allocations: 8.562 kB / 0.8212 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.5954, allocations: 22.3 kB / 0.8212 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.497e-05/0.5955, allocations: 314.6 kB / 0.8215 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.033e-05/0.5956, allocations: 47.34 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.691e-05/0.5957, allocations: 35.83 kB / 0.8216 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.5958, allocations: 91.16 kB / 0.8217 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5958, allocations: 0 / 0.8217 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001797/0.596, allocations: 112.2 kB / 0.8218 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.596, allocations: 6.438 kB / 0.8218 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.596, allocations: 0 / 0.8218 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.596, allocations: 0 / 0.8218 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.321e-05/0.5961, allocations: 19.11 kB / 0.8218 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.5961, allocations: 0 / 0.8218 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.897e-05/0.5962, allocations: 17.91 kB / 0.8218 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.5962, allocations: 0 / 0.8218 GB, free: 14.34 MB / 0.6198 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 6.246e-05/0.5962, allocations: 119.2 kB / 0.8219 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.5963, allocations: 3.688 kB / 0.8219 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.5965, allocations: 127.8 kB / 0.822 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.5965, allocations: 0 / 0.822 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.5965, allocations: 0 / 0.822 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.5965, allocations: 0.6562 kB / 0.822 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.5966, allocations: 154.9 kB / 0.8222 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5966, allocations: 0 / 0.8222 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.165e-05/0.5967, allocations: 16.58 kB / 0.8222 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.5967, allocations: 4 kB / 0.8222 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.5967, allocations: 0 / 0.8222 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5967, allocations: 0 / 0.8222 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5967, allocations: 6.172 kB / 0.8222 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.5969, allocations: 204.2 kB / 0.8224 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-06/0.5969, allocations: 10.22 kB / 0.8224 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.5969, allocations: 4.641 kB / 0.8224 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.36e-05/0.597, allocations: 14.58 kB / 0.8224 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.597, allocations: 6.062 kB / 0.8224 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.597, allocations: 1.062 kB / 0.8224 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.887e-05/0.5971, allocations: 102.2 kB / 0.8225 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5971, allocations: 0 / 0.8225 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001627/0.5972, allocations: 15.44 kB / 0.8226 GB, free: 13.73 MB / 0.6198 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.0004459/0.5977, allocations: 0.7411 MB / 0.8233 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.5979, allocations: 86.72 kB / 0.8234 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.5979, allocations: 5.844 kB / 0.8234 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.826e-05/0.598, allocations: 37.56 kB / 0.8234 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.5982, allocations: 13.16 kB / 0.8234 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004129/0.5986, allocations: 185.3 kB / 0.8236 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.5988, allocations: 0.6956 MB / 0.8243 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.614e-05/0.5989, allocations: 4.562 kB / 0.8243 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.5989, allocations: 18.59 kB / 0.8243 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of SimCode: time 3.7e-07/0.5989, allocations: 1.688 kB / 0.8243 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.6169, allocations: 2.007 MB / 0.8263 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.566/7.182, allocations: 4.891 kB / 0.8263 GB, free: 11.66 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic_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_Biquadratic.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.307285743998364] Failed to read output from testmodel.py, exit status != 0: 7.264063753886148 7.27884896 6.682938897 Calling exit ...