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.0008082/0.0008082, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008667/0.0008667, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9301/0.9301, allocations: 177.1 MB / 202.8 MB, free: 5.762 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.73/0.73, allocations: 154.6 MB / 413.7 MB, free: 0.8242 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 1.603e-06/1.603e-06, allocations: 0 / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.865e-05, allocations: 5.234 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.001965/0.001983, allocations: 1.502 MB / 0.6195 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003231/0.002306, allocations: 111.6 kB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.682e-05/0.002353, allocations: 4 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.987e-05/0.002403, allocations: 3.938 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.163e-05/0.002465, allocations: 7.938 kB / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.002722, allocations: 31.83 kB / 0.6197 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.932e-05/0.002811, allocations: 47.84 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.002917, allocations: 4 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.066e-05/0.002977, allocations: 19.98 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.345e-05/0.003021, allocations: 19.91 kB / 0.6198 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.003038, allocations: 4 kB / 0.6198 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.857e-05/0.003107, allocations: 23.98 kB / 0.6198 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.67e-05/0.003163, allocations: 11.98 kB / 0.6198 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.569e-05/0.003189, allocations: 15.92 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.003331, allocations: 59.8 kB / 0.6199 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.003333, allocations: 0 / 0.6199 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.51e-07/0.003334, allocations: 0 / 0.6199 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.00334, allocations: 4 kB / 0.6199 GB, free: 11.89 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.0004257/0.003766, allocations: 298.1 kB / 0.6202 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.003815, allocations: 17.41 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.592e-05/0.003851, allocations: 34.75 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.004031, allocations: 24.88 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.625e-05/0.004127, allocations: 125.7 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.004137, allocations: 384 / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.004149, allocations: 4.375 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.004326, allocations: 74.2 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-06/0.004333, allocations: 192 / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.004341, allocations: 4.375 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.004346, allocations: 4.125 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.004503, allocations: 83.91 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.004864, allocations: 259.9 kB / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.005005, allocations: 70.53 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.517e-05/0.00509, allocations: 48.84 kB / 0.6209 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.005104, allocations: 3.938 kB / 0.6209 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.005127, allocations: 38.55 kB / 0.6209 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.005128, allocations: 0 / 0.6209 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.000351/0.005479, allocations: 153.7 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.005516, allocations: 55.39 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.708e-05/0.005603, allocations: 133.1 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.005616, allocations: 25.7 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.278e-05/0.005668, allocations: 100 kB / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.005689, allocations: 7.953 kB / 0.6214 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.005718, allocations: 17.66 kB / 0.6214 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.855e-05/0.005816, allocations: 318.8 kB / 0.6217 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.372e-05/0.0059, allocations: 43.95 kB / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.302e-05/0.005973, allocations: 39.95 kB / 0.6218 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.006128, allocations: 84.77 kB / 0.6218 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.00613, allocations: 0 / 0.6218 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002022/0.006332, allocations: 125.4 kB / 0.622 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.006351, allocations: 4 kB / 0.622 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.006357, allocations: 0 / 0.622 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.006371, allocations: 4 kB / 0.622 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.628e-05/0.006468, allocations: 15.97 kB / 0.622 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.006474, allocations: 0 / 0.622 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.104e-05/0.006515, allocations: 11.98 kB / 0.622 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.006525, allocations: 8 kB / 0.622 GB, free: 9.508 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 8.144e-05/0.006606, allocations: 114.8 kB / 0.6221 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.006623, allocations: 11.88 kB / 0.6221 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.006657, allocations: 12 kB / 0.6221 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.006662, allocations: 4 kB / 0.6221 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.006668, allocations: 0 / 0.6221 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.006672, allocations: 0 / 0.6221 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.006813, allocations: 148.7 kB / 0.6223 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.006814, allocations: 0 / 0.6223 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.192e-05/0.006866, allocations: 23.86 kB / 0.6223 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.006868, allocations: 0 / 0.6223 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.006879, allocations: 4 kB / 0.6223 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.00688, allocations: 0 / 0.6223 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.006881, allocations: 0 / 0.6223 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.007114, allocations: 207.4 kB / 0.6225 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.009e-05/0.007124, allocations: 7.938 kB / 0.6225 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.007137, allocations: 0 / 0.6225 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.508e-05/0.007192, allocations: 19.98 kB / 0.6225 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.007237, allocations: 3.984 kB / 0.6225 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.007242, allocations: 7.938 kB / 0.6225 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.556e-05/0.007287, allocations: 99.27 kB / 0.6226 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.007287, allocations: 0 / 0.6226 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001521/0.007439, allocations: 11.94 kB / 0.6227 GB, free: 8.77 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.0004347/0.007874, allocations: 0.7474 MB / 0.6234 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002173/0.008091, allocations: 83.91 kB / 0.6235 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.008093, allocations: 0 / 0.6235 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.194e-05/0.008175, allocations: 43.89 kB / 0.6235 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.008367, allocations: 10.3 kB / 0.6235 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/0.00876, allocations: 174.5 kB / 0.6237 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.666e-05/0.008816, allocations: 79.27 kB / 0.6238 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.486e-05/0.008841, allocations: 4 kB / 0.6238 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.008891, allocations: 20.48 kB / 0.6238 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of SimCode: time 6.22e-07/0.008892, allocations: 4 kB / 0.6238 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01556/0.02445, allocations: 2.556 MB / 0.6263 GB, free: 5.121 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.757/6.782, allocations: 1.594 kB / 0.6263 GB, free: 5.121 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.708062036894262] Failed to read output from testmodel.py, exit status != 0: 6.86261987593025 6.876344173 6.870164044 Calling exit ...