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.0008848/0.0008848, 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.0009173/0.0009173, allocations: 169.9 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.9151/0.9151, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.7405/0.7405, allocations: 154.5 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.622e-05, allocations: 8.922 kB / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002789/0.002816, allocations: 1.498 MB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003352/0.003151, allocations: 115.6 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.323e-05/0.003194, allocations: 8 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.842e-05/0.003242, allocations: 3.938 kB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.624e-05/0.003309, allocations: 0 / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.003581, allocations: 35.83 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.858e-05/0.003679, allocations: 39.86 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.003781, allocations: 7.984 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.85e-05/0.00385, allocations: 19.98 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.902e-05/0.003899, allocations: 19.91 kB / 0.6198 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.003917, allocations: 4 kB / 0.6198 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.076e-05/0.003988, allocations: 23.98 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.00404, allocations: 11.98 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.004067, allocations: 15.92 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.004219, allocations: 67.78 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.004223, allocations: 0 / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.593e-06/0.004224, allocations: 0 / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.004229, allocations: 0 / 0.6199 GB, free: 11.86 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.0004916/0.00472, allocations: 298.1 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.004768, allocations: 9.469 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.749e-05/0.004805, allocations: 42.67 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002511/0.005056, allocations: 24.88 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.005168, allocations: 125.7 kB / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.005183, allocations: 4.375 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.005195, allocations: 384 / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.005436, allocations: 74.2 kB / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.005444, allocations: 192 / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.005456, allocations: 8.375 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.005463, allocations: 4.125 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002318/0.005694, allocations: 79.91 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.006153, allocations: 259.9 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.006359, allocations: 78.52 kB / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.006493, allocations: 40.91 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.006513, allocations: 3.938 kB / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.006549, allocations: 34.56 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 2.806e-06/0.006552, allocations: 0 / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0005307/0.007083, allocations: 157.5 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.007133, allocations: 55.34 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.007253, allocations: 133.3 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.007273, allocations: 29.7 kB / 0.6213 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/0.007342, allocations: 96.08 kB / 0.6214 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.007372, allocations: 11.89 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.007419, allocations: 13.72 kB / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.007559, allocations: 322.8 kB / 0.6217 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.007691, allocations: 39.91 kB / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.007809, allocations: 43.95 kB / 0.6218 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.008035, allocations: 80.77 kB / 0.6219 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.008038, allocations: 0 / 0.6219 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000282/0.00832, allocations: 125.4 kB / 0.622 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.008339, allocations: 8 kB / 0.622 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.008345, allocations: 0 / 0.622 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.008361, allocations: 0 / 0.622 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.008502, allocations: 19.97 kB / 0.622 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.008508, allocations: 0 / 0.622 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.422e-05/0.008573, allocations: 11.98 kB / 0.622 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.00858, allocations: 4 kB / 0.622 GB, free: 9.473 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 7.873e-05/0.008659, allocations: 114.8 kB / 0.6221 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.008688, allocations: 11.89 kB / 0.6221 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.564e-05/0.008724, allocations: 11.98 kB / 0.6221 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.008727, allocations: 0 / 0.6221 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.008732, allocations: 0 / 0.6221 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.008736, allocations: 4 kB / 0.6221 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.008914, allocations: 148.7 kB / 0.6223 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.008915, allocations: 0 / 0.6223 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.727e-05/0.009013, allocations: 27.86 kB / 0.6223 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.009016, allocations: 0 / 0.6223 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.009024, allocations: 0 / 0.6223 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.009026, allocations: 0 / 0.6223 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.009028, allocations: 0 / 0.6223 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.009355, allocations: 211.4 kB / 0.6225 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.48e-05/0.00937, allocations: 4.312 kB / 0.6225 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.009385, allocations: 0 / 0.6225 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.9e-05/0.009484, allocations: 19.98 kB / 0.6225 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.00953, allocations: 7.984 kB / 0.6225 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.009537, allocations: 3.984 kB / 0.6226 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.974e-05/0.009597, allocations: 99.27 kB / 0.6226 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.009597, allocations: 0 / 0.6226 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002482/0.009845, allocations: 8 kB / 0.6227 GB, free: 8.738 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.000596/0.01044, allocations: 0.7474 MB / 0.6234 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002889/0.01073, allocations: 91.78 kB / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.01073, allocations: 0 / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.01085, allocations: 43.89 kB / 0.6235 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.01113, allocations: 12 kB / 0.6235 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005667/0.0117, allocations: 174.5 kB / 0.6237 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.029e-05/0.01177, allocations: 79.27 kB / 0.6238 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.792e-05/0.01181, allocations: 0 / 0.6238 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/0.01186, allocations: 16.5 kB / 0.6238 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of SimCode: time 7.31e-07/0.01186, allocations: 0 / 0.6238 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.03232, allocations: 2.558 MB / 0.6263 GB, free: 5.086 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.987/7.019, allocations: 11.06 kB / 0.6263 GB, free: 5.082 MB / 0.5886 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: 9.736097051762044] Failed to read output from testmodel.py, exit status != 0: 7.100003611296415 7.11091513 7.104783783 Calling exit ...