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.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.0008264/0.0008264, allocations: 113.9 kB / 18.94 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.0009372/0.0009372, allocations: 217.2 kB / 22.26 MB, free: 3.695 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.9531/0.9531, 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.8083/0.8083, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.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: 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.001024/0.001024, allocations: 67.66 kB / 0.7182 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5252/0.5262, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.001972/0.5282, allocations: 1.52 MB / 0.8193 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002925/0.5285, allocations: 117.1 kB / 0.8195 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.222e-05/0.5285, allocations: 11.56 kB / 0.8195 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.365e-05/0.5286, allocations: 1.547 kB / 0.8195 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.45e-05/0.5286, allocations: 16.42 kB / 0.8195 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.5289, allocations: 22.67 kB / 0.8195 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.541e-05/0.529, allocations: 40.83 kB / 0.8195 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.5291, allocations: 8.578 kB / 0.8196 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.636e-05/0.5292, allocations: 22.2 kB / 0.8196 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.367e-05/0.5292, allocations: 19.72 kB / 0.8196 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.5292, allocations: 4.625 kB / 0.8196 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.868e-05/0.5293, allocations: 23.41 kB / 0.8196 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.925e-05/0.5294, allocations: 21.86 kB / 0.8196 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.5294, allocations: 18.56 kB / 0.8197 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.5296, allocations: 56.97 kB / 0.8197 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5296, allocations: 0 / 0.8197 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5296, allocations: 0 / 0.8197 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.5296, allocations: 0 / 0.8197 GB, free: 15.99 MB / 0.6198 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.0004636/0.53, allocations: 304.7 kB / 0.82 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.5301, allocations: 15.56 kB / 0.82 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.353e-05/0.5301, allocations: 35.34 kB / 0.8201 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002366/0.5304, allocations: 31.23 kB / 0.8201 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.5305, allocations: 123.2 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.5305, allocations: 1.531 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.5305, allocations: 1.906 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.5307, allocations: 79.14 kB / 0.8203 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.5307, allocations: 7.938 kB / 0.8203 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.5307, allocations: 4 kB / 0.8203 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.5307, allocations: 0 / 0.8203 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.5309, allocations: 76.73 kB / 0.8204 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.5313, allocations: 275.7 kB / 0.8206 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.5314, allocations: 65.77 kB / 0.8207 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.5315, allocations: 48.56 kB / 0.8207 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.5316, allocations: 0 / 0.8207 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.5316, allocations: 38.69 kB / 0.8208 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.5316, allocations: 0 / 0.8208 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000367/0.532, allocations: 155.7 kB / 0.8209 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.532, allocations: 52.11 kB / 0.821 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.95e-05/0.5321, allocations: 133.2 kB / 0.8211 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.5321, allocations: 29.7 kB / 0.8211 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.5321, allocations: 87.3 kB / 0.8212 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.5322, allocations: 10.75 kB / 0.8212 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.5322, allocations: 17.39 kB / 0.8212 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.516e-05/0.5323, allocations: 318.6 kB / 0.8215 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.796e-05/0.5324, allocations: 43.31 kB / 0.8216 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.048e-05/0.5325, allocations: 47.2 kB / 0.8216 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.5326, allocations: 89.92 kB / 0.8217 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5326, allocations: 0 / 0.8217 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002069/0.5328, allocations: 119.3 kB / 0.8218 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.5329, allocations: 3.766 kB / 0.8218 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.5329, allocations: 0.625 kB / 0.8218 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.5329, allocations: 2.344 kB / 0.8218 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.533, allocations: 15.17 kB / 0.8218 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.533, allocations: 0 / 0.8218 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.533, allocations: 11.92 kB / 0.8219 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.533, allocations: 3.438 kB / 0.8219 GB, free: 14.3 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 7.415e-05/0.5331, allocations: 121.4 kB / 0.822 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.5331, allocations: 3.734 kB / 0.822 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.5332, allocations: 11.64 kB / 0.822 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.5332, allocations: 3.984 kB / 0.822 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.5332, allocations: 3.141 kB / 0.822 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5332, allocations: 0 / 0.822 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.5333, allocations: 158.1 kB / 0.8221 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5333, allocations: 0 / 0.8221 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.559e-05/0.5334, allocations: 28.41 kB / 0.8222 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.5334, allocations: 0.7031 kB / 0.8222 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.5334, allocations: 3.5 kB / 0.8222 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.5334, allocations: 0 / 0.8222 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.5334, allocations: 0 / 0.8222 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.5337, allocations: 212.6 kB / 0.8224 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.357e-05/0.5337, allocations: 12.41 kB / 0.8224 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.5337, allocations: 0 / 0.8224 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.177e-05/0.5338, allocations: 12.06 kB / 0.8224 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.5338, allocations: 8.125 kB / 0.8224 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.5338, allocations: 2.062 kB / 0.8224 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.81e-05/0.5339, allocations: 102.6 kB / 0.8225 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5339, allocations: 0 / 0.8225 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001567/0.534, allocations: 5.156 kB / 0.8225 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.0004721/0.5345, allocations: 0.7509 MB / 0.8232 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002121/0.5347, allocations: 89.33 kB / 0.8233 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5347, allocations: 0 / 0.8233 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.574e-05/0.5348, allocations: 42.88 kB / 0.8234 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.535, allocations: 11.28 kB / 0.8234 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004352/0.5354, allocations: 184.2 kB / 0.8236 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.5356, allocations: 0.6875 MB / 0.8242 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.338e-05/0.5357, allocations: 4.359 kB / 0.8242 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.023e-05/0.5357, allocations: 19.33 kB / 0.8243 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.5357, allocations: 0 / 0.8243 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0153/0.551, allocations: 1.981 MB / 0.8262 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.709/7.26, allocations: 9.75 kB / 0.8262 GB, free: 11.67 MB / 0.6198 GB " [Timeout remaining time 653] (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: 10.13165219896473] Failed to read output from testmodel.py, exit status != 0: 7.3386553740128875 7.349655215 6.817991813 Calling exit ...