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.0008627/0.0008627, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001172/0.001172, allocations: 221.7 kB / 22.26 MB, free: 3.691 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.9848/0.9848, allocations: 230.6 MB / 256 MB, free: 9.812 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.7975/0.7975, allocations: 203.8 MB / 0.5042 GB, free: 10.79 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.001757/0.001757, allocations: 65.89 kB / 0.7182 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5729/0.5747, 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.00209/0.5768, allocations: 1.515 MB / 0.8193 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004187/0.5772, allocations: 121 kB / 0.8195 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.769e-05/0.5772, allocations: 0 / 0.8195 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.081e-05/0.5773, allocations: 4.5 kB / 0.8195 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.759e-05/0.5774, allocations: 13.81 kB / 0.8195 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.5778, allocations: 16.94 kB / 0.8195 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.5779, allocations: 43.25 kB / 0.8195 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.578, allocations: 15.02 kB / 0.8195 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.346e-05/0.5781, allocations: 15.89 kB / 0.8196 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.542e-05/0.5782, allocations: 28.17 kB / 0.8196 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.5782, allocations: 3.5 kB / 0.8196 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.874e-05/0.5783, allocations: 14.92 kB / 0.8196 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.286e-05/0.5784, allocations: 19.14 kB / 0.8196 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.5784, allocations: 22.22 kB / 0.8196 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.5786, allocations: 55.67 kB / 0.8197 GB, free: 20 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.5786, allocations: 0.8438 kB / 0.8197 GB, free: 20 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.565e-06/0.5786, allocations: 0 / 0.8197 GB, free: 20 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.5786, allocations: 0 / 0.8197 GB, free: 20 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.000597/0.5792, allocations: 310.7 kB / 0.82 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.5793, allocations: 10.77 kB / 0.82 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.484e-05/0.5793, allocations: 31.45 kB / 0.82 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.5793, allocations: 8.359 kB / 0.82 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.5794, allocations: 115.9 kB / 0.8202 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.5795, allocations: 7.062 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.5795, allocations: 1.969 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.5797, allocations: 82.3 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.5797, allocations: 3.938 kB / 0.8202 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.5797, allocations: 0 / 0.8202 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.5797, allocations: 0 / 0.8202 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.5799, allocations: 78.25 kB / 0.8203 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006314/0.5805, allocations: 260 kB / 0.8206 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.5807, allocations: 68.52 kB / 0.8206 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.949e-05/0.5807, allocations: 41.44 kB / 0.8207 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000218/0.581, allocations: 35.97 kB / 0.8207 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.581, allocations: 31.31 kB / 0.8207 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 3.096e-06/0.581, allocations: 3.984 kB / 0.8207 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004086/0.5814, allocations: 152.3 kB / 0.8209 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.5814, allocations: 55.41 kB / 0.8209 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.5815, allocations: 128.7 kB / 0.8211 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.5816, allocations: 26.22 kB / 0.8211 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.5816, allocations: 90.89 kB / 0.8212 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.5816, allocations: 12.84 kB / 0.8212 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.5817, allocations: 12.58 kB / 0.8212 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.5818, allocations: 318.1 kB / 0.8215 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.5819, allocations: 42.69 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.526e-05/0.582, allocations: 37.16 kB / 0.8216 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.5821, allocations: 86.97 kB / 0.8217 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.5821, allocations: 4 kB / 0.8217 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002052/0.5823, allocations: 112.7 kB / 0.8218 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.5824, allocations: 7.391 kB / 0.8218 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5824, allocations: 0 / 0.8218 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.5824, allocations: 0 / 0.8218 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.436e-05/0.5825, allocations: 19.78 kB / 0.8218 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.5825, allocations: 0 / 0.8218 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.208e-05/0.5825, allocations: 16.92 kB / 0.8218 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.5825, 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.96e-05/0.5826, allocations: 121.3 kB / 0.8219 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.5826, allocations: 3.562 kB / 0.8219 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.5829, allocations: 120.8 kB / 0.822 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.5829, allocations: 7.469 kB / 0.8221 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5829, allocations: 0 / 0.8221 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.5829, allocations: 0.6562 kB / 0.8221 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.583, allocations: 149.3 kB / 0.8222 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.583, allocations: 0.7031 kB / 0.8222 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.727e-05/0.5831, allocations: 19.38 kB / 0.8222 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5831, allocations: 2.5 kB / 0.8222 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.5831, allocations: 0.7031 kB / 0.8222 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.5831, allocations: 3.938 kB / 0.8222 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.5831, allocations: 0 / 0.8222 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.5833, allocations: 214.5 kB / 0.8224 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.288e-06/0.5833, allocations: 4.656 kB / 0.8224 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.5833, allocations: 2.469 kB / 0.8224 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.253e-05/0.5834, allocations: 10.31 kB / 0.8224 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.5834, allocations: 8.375 kB / 0.8225 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.5834, allocations: 1.25 kB / 0.8225 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.306e-05/0.5835, allocations: 104.8 kB / 0.8226 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5835, allocations: 0 / 0.8226 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001597/0.5836, allocations: 14.44 kB / 0.8226 GB, free: 13.74 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.0004434/0.5841, allocations: 0.7406 MB / 0.8233 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.5843, allocations: 84.02 kB / 0.8234 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5843, allocations: 3.938 kB / 0.8234 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.314e-05/0.5844, allocations: 43.11 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.0002027/0.5846, allocations: 7.906 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.0004375/0.585, allocations: 186.2 kB / 0.8236 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.5852, allocations: 0.6865 MB / 0.8243 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.994e-05/0.5853, allocations: 14.58 kB / 0.8243 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.5853, allocations: 15.47 kB / 0.8243 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of SimCode: time 6.71e-07/0.5853, allocations: 3.938 kB / 0.8243 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.6021, allocations: 1.995 MB / 0.8263 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.5/7.102, allocations: 7.984 kB / 0.8263 GB, free: 11.68 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.076458445051685] Failed to read output from testmodel.py, exit status != 0: 7.182069706032053 7.193308177 6.612735436 Calling exit ...