Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 107.8 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.075/1.075, allocations: 175.8 MB / 478.4 MB, free: 8.441 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 69.77 kB / 0.6652 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1841, allocations: 94.54 MB / 0.7575 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002704/0.1868, allocations: 1.492 MB / 0.759 GB, free: 428 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003234/0.1871, allocations: 119.5 kB / 0.7591 GB, free: 308 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.211e-05/0.1871, allocations: 0 / 0.7591 GB, free: 308 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.445e-05/0.1872, allocations: 3.938 kB / 0.7591 GB, free: 304 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.608e-05/0.1873, allocations: 15.86 kB / 0.7591 GB, free: 288 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.1875, allocations: 19.98 kB / 0.7591 GB, free: 268 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.659e-05/0.1876, allocations: 43.84 kB / 0.7592 GB, free: 224 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1877, allocations: 20.19 kB / 0.7592 GB, free: 204 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.925e-05/0.1877, allocations: 12 kB / 0.7592 GB, free: 192 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.317e-05/0.1878, allocations: 23.84 kB / 0.7592 GB, free: 168 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.1878, allocations: 4 kB / 0.7592 GB, free: 164 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.094e-05/0.1879, allocations: 19.98 kB / 0.7593 GB, free: 144 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.171e-05/0.1879, allocations: 15.98 kB / 0.7593 GB, free: 128 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.188, allocations: 15.88 kB / 0.7593 GB, free: 112 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.1881, allocations: 67.72 kB / 0.7593 GB, free: 44 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1881, allocations: 0 / 0.7593 GB, free: 44 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1881, allocations: 0 / 0.7593 GB, free: 44 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1881, allocations: 0 / 0.7593 GB, free: 44 kB / 0.5762 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.4217/0.6098, allocations: 379.2 kB / 0.7597 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/0.6098, allocations: 9.594 kB / 0.7597 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.545e-05/0.6099, allocations: 32.62 kB / 0.7598 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.6099, allocations: 8.531 kB / 0.7598 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.61, allocations: 174.2 kB / 0.7599 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.61, allocations: 2.75 kB / 0.7599 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.61, allocations: 6.953 kB / 0.7599 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.6104, allocations: 76.61 kB / 0.76 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.6104, allocations: 4.562 kB / 0.76 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.6104, allocations: 5.375 kB / 0.76 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.6104, allocations: 2.438 kB / 0.76 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004534/0.6109, allocations: 73.23 kB / 0.7601 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004558/0.6113, allocations: 283.9 kB / 0.7604 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.6117, allocations: 64.66 kB / 0.7604 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.6119, allocations: 46.5 kB / 0.7605 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003706/0.6123, allocations: 111.7 kB / 0.7606 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.6123, allocations: 32.23 kB / 0.7606 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.723e-06/0.6123, allocations: 0 / 0.7606 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0007994/0.6131, allocations: 147 kB / 0.7607 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.6131, allocations: 52.81 kB / 0.7608 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.6132, allocations: 135.5 kB / 0.7609 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.6132, allocations: 25.7 kB / 0.7609 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.6133, allocations: 92.58 kB / 0.761 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.6133, allocations: 21.44 kB / 0.7611 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.6133, allocations: 14.81 kB / 0.7611 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.909e-05/0.6134, allocations: 318.1 kB / 0.7614 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.6136, allocations: 34.3 kB / 0.7614 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.6138, allocations: 39.95 kB / 0.7614 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.6142, allocations: 83.19 kB / 0.7615 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6142, allocations: 0 / 0.7615 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004847/0.6147, allocations: 110.5 kB / 0.7616 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.6147, allocations: 5.812 kB / 0.7616 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.6147, allocations: 0.5938 kB / 0.7616 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.6147, allocations: 2.828 kB / 0.7616 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.6149, allocations: 16.03 kB / 0.7617 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.6149, allocations: 4.172 kB / 0.7617 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.615, allocations: 13.5 kB / 0.7617 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.615, allocations: 1.266 kB / 0.7617 GB, free: 7.848 MB / 0.5762 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 7.35e-05/0.6151, allocations: 128.2 kB / 0.7618 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.6151, allocations: 6.484 kB / 0.7618 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005257/0.6157, allocations: 118.3 kB / 0.7619 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.6157, allocations: 1.5 kB / 0.7619 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.6157, allocations: 1.875 kB / 0.7619 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6157, allocations: 4.188 kB / 0.7619 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.6159, allocations: 182.9 kB / 0.7621 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.6159, allocations: 1.172 kB / 0.7621 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.6161, allocations: 15.17 kB / 0.7621 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.6161, allocations: 1.594 kB / 0.7621 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.6161, allocations: 0.9062 kB / 0.7621 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.6161, allocations: 0 / 0.7621 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6161, allocations: 4.75 kB / 0.7621 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004893/0.6166, allocations: 218.8 kB / 0.7623 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.602e-05/0.6166, allocations: 83.81 kB / 0.7624 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.6166, allocations: 1.156 kB / 0.7624 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.6168, allocations: 11.36 kB / 0.7624 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.6168, allocations: 6.906 kB / 0.7624 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.6168, allocations: 1.406 kB / 0.7624 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.589e-05/0.6169, allocations: 102 kB / 0.7625 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6169, allocations: 4 kB / 0.7625 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004341/0.6174, allocations: 9.438 kB / 0.7625 GB, free: 7.176 MB / 0.5762 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.0007455/0.6181, allocations: 0.7491 MB / 0.7633 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004974/0.6186, allocations: 83.12 kB / 0.7633 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6186, allocations: 0 / 0.7633 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.6188, allocations: 37.61 kB / 0.7634 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.6192, allocations: 10.88 kB / 0.7634 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006309/0.6198, allocations: 187.3 kB / 0.7636 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.6199, allocations: 0.69 MB / 0.7642 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.015e-05/0.62, allocations: 2.016 kB / 0.7642 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.856e-05/0.62, allocations: 17.14 kB / 0.7643 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of SimCode: time 3.4e-07/0.62, allocations: 3.938 kB / 0.7643 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.6464, allocations: 1.896 MB / 0.7661 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/8.726, allocations: 1.438 kB / 0.7661 GB, free: 5.258 MB / 0.5762 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_QuadraticLinear.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.46292816940695] Failed to read output from testmodel.py, exit status != 0: 8.793214737903327 8.804598019 8.614107112 Calling exit ...