Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.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.001221/0.001221, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001426/0.001426, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9089/0.9089, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7255/0.7255, allocations: 154.6 MB / 413.8 MB, free: 0.7969 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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.QuadraticLinear,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.671e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002069/0.002095, allocations: 1.504 MB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002717/0.002367, allocations: 115.7 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.677e-05/0.002404, allocations: 4 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.157e-05/0.002445, allocations: 3.938 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.886e-05/0.002504, allocations: 7.875 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.002733, allocations: 23.97 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.877e-05/0.002812, allocations: 43.84 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.002916, allocations: 11.98 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.899e-05/0.002975, allocations: 19.98 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.892e-05/0.003014, allocations: 23.91 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.003031, allocations: 4 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.923e-05/0.00309, allocations: 19.98 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.376e-05/0.003134, allocations: 8 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.139e-05/0.003155, allocations: 19.86 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.003285, allocations: 67.78 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003287, allocations: 0 / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.663e-06/0.003289, allocations: 0 / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.003293, allocations: 0 / 0.6199 GB, free: 11.77 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003843/0.003677, allocations: 306.1 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.003715, allocations: 8.031 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.887e-05/0.003743, allocations: 34.75 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.346e-05/0.003767, allocations: 4.891 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.091e-05/0.003848, allocations: 121.7 kB / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.003858, allocations: 384 / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.003866, allocations: 384 / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.004041, allocations: 78.2 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.004047, allocations: 192 / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.004057, allocations: 4.375 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.004062, allocations: 12.06 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.004202, allocations: 71.92 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.00452, allocations: 248 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.00465, allocations: 62.53 kB / 0.6208 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.459e-05/0.004725, allocations: 52.84 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001807/0.004905, allocations: 35.91 kB / 0.6209 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.004934, allocations: 38.5 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.004935, allocations: 0 / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003174/0.005252, allocations: 141.8 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.005301, allocations: 55.41 kB / 0.6211 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.927e-05/0.00538, allocations: 133 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.005391, allocations: 29.7 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.005434, allocations: 88.09 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.005455, allocations: 19.88 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/0.00548, allocations: 9.719 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.00559, allocations: 318.8 kB / 0.6217 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-05/0.005669, allocations: 39.95 kB / 0.6218 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-05/0.005736, allocations: 47.88 kB / 0.6218 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.005871, allocations: 72.78 kB / 0.6219 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.005874, allocations: 0 / 0.6219 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001728/0.006047, allocations: 117.5 kB / 0.622 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.006059, allocations: 11.94 kB / 0.622 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.006064, allocations: 4 kB / 0.622 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.006076, allocations: 0 / 0.622 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.684e-05/0.006153, allocations: 19.97 kB / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.006157, allocations: 0 / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.561e-05/0.006192, allocations: 15.98 kB / 0.622 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.006198, allocations: 0 / 0.622 GB, free: 9.422 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 (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 5.882e-05/0.006257, allocations: 118.8 kB / 0.6221 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.006273, allocations: 11.89 kB / 0.6222 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/0.006485, allocations: 117.6 kB / 0.6223 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.006487, allocations: 0 / 0.6223 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.006491, allocations: 0 / 0.6223 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.006493, allocations: 4 kB / 0.6223 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.006673, allocations: 144.7 kB / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.006674, allocations: 0 / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.383e-05/0.006718, allocations: 15.92 kB / 0.6224 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.006719, allocations: 0 / 0.6224 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.006726, allocations: 4 kB / 0.6224 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.006727, allocations: 0 / 0.6224 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.006729, allocations: 0 / 0.6224 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.006918, allocations: 211.4 kB / 0.6226 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.006925, allocations: 7.938 kB / 0.6226 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.006935, allocations: 0 / 0.6226 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.869e-05/0.006984, allocations: 15.97 kB / 0.6227 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.00702, allocations: 4 kB / 0.6227 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.007025, allocations: 7.938 kB / 0.6227 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.059e-05/0.007065, allocations: 99.25 kB / 0.6228 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007065, allocations: 0 / 0.6228 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001606/0.007226, allocations: 12 kB / 0.6228 GB, free: 8.586 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 (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.0004333/0.007659, allocations: 0.7474 MB / 0.6235 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000192/0.007851, allocations: 76.2 kB / 0.6236 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.007853, allocations: 4 kB / 0.6236 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.355e-05/0.007926, allocations: 40.05 kB / 0.6236 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.00811, allocations: 9.969 kB / 0.6236 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.008494, allocations: 190.4 kB / 0.6238 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.963e-05/0.008544, allocations: 75.27 kB / 0.6239 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.48e-05/0.008569, allocations: 12 kB / 0.6239 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.008605, allocations: 16.5 kB / 0.6239 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.008605, allocations: 0 / 0.6239 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02/0.0286, allocations: 2.58 MB / 0.6264 GB, free: 4.902 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.862/6.89, allocations: 7.188 kB / 0.6264 GB, free: 4.898 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear.fmu > IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.616695551201701] Failed to read output from testmodel.py, exit status != 0: 6.969824166037142 6.979844741 6.974856143 Calling exit ...