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.001306/0.001306, allocations: 77.95 kB / 20.66 MB, free: 3.832 MB / 18.57 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.00115/0.00115, allocations: 165 kB / 24.05 MB, free: 452 kB / 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 1.119/1.119, allocations: 177.1 MB / 204.5 MB, free: 5.484 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-545:108: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-545:116: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.8423/0.8423, allocations: 154.6 MB / 415.6 MB, free: 0.5352 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: translateModel(IDEAS.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear") translateModel(IDEAS.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.947e-06/3.947e-06, allocations: 3.984 kB / 0.5215 GB, free: 1.898 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679e-05/2.074e-05, allocations: 6.312 kB / 0.5215 GB, free: 1.891 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.00265/0.002671, allocations: 1.524 MB / 0.523 GB, free: 388 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003209/0.002992, allocations: 108.4 kB / 0.5231 GB, free: 280 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.967e-05/0.003031, allocations: 0.7656 kB / 0.5231 GB, free: 280 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.635e-05/0.003088, allocations: 5.156 kB / 0.5231 GB, free: 276 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.19e-05/0.00316, allocations: 12.64 kB / 0.5232 GB, free: 264 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.003374, allocations: 24.58 kB / 0.5232 GB, free: 240 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.217e-05/0.003466, allocations: 47.84 kB / 0.5232 GB, free: 192 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.096e-05/0.003557, allocations: 9.766 kB / 0.5232 GB, free: 184 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.953e-05/0.003626, allocations: 23.92 kB / 0.5233 GB, free: 160 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.969e-05/0.003676, allocations: 19.97 kB / 0.5233 GB, free: 140 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.003695, allocations: 4 kB / 0.5233 GB, free: 136 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.009e-05/0.003765, allocations: 21.36 kB / 0.5233 GB, free: 116 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.434e-05/0.003819, allocations: 15.92 kB / 0.5233 GB, free: 100 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.003843, allocations: 11.98 kB / 0.5233 GB, free: 88 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.003979, allocations: 51.75 kB / 0.5234 GB, free: 36 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.003982, allocations: 4.625 kB / 0.5234 GB, free: 32 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.003983, allocations: 0 / 0.5234 GB, free: 32 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.708e-06/0.003987, allocations: 1.188 kB / 0.5234 GB, free: 32 kB / 490.7 MB 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.0004239/0.004411, allocations: 392.4 kB / 0.5238 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.004452, allocations: 12.75 kB / 0.5238 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.00449, allocations: 8.891 kB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.004592, allocations: 121.1 kB / 0.5239 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.004603, allocations: 384 / 0.5239 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.004614, allocations: 4.875 kB / 0.5239 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.004773, allocations: 72.14 kB / 0.524 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.00478, allocations: 192 / 0.524 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.004788, allocations: 384 / 0.524 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.004794, allocations: 1.219 kB / 0.524 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.398e-05/0.004828, allocations: 11.88 kB / 0.524 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002892/0.005117, allocations: 252.9 kB / 0.5242 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.715e-05/0.005194, allocations: 42.52 kB / 0.5243 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.188e-05/0.005216, allocations: 7.688 kB / 0.5243 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/0.005353, allocations: 28.08 kB / 0.5243 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.005377, allocations: 33.39 kB / 0.5243 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.005378, allocations: 0 / 0.5243 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001592/0.005537, allocations: 53.56 kB / 0.5244 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.005571, allocations: 52.09 kB / 0.5244 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.00571, allocations: 181.9 kB / 0.5246 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.005729, allocations: 26.27 kB / 0.5246 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.342e-05/0.005813, allocations: 143.8 kB / 0.5248 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.005845, allocations: 19.86 kB / 0.5248 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.005894, allocations: 15.38 kB / 0.5248 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.006076, allocations: 0.49 MB / 0.5253 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.103e-05/0.006107, allocations: 0 / 0.5253 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.426e-05/0.006131, allocations: 7.984 kB / 0.5253 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.38e-05/0.006185, allocations: 23.61 kB / 0.5253 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.006187, allocations: 0.875 kB / 0.5253 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001216/0.006309, allocations: 45.64 kB / 0.5253 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.006327, allocations: 9.719 kB / 0.5254 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.006333, allocations: 0 / 0.5254 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.006348, allocations: 3.938 kB / 0.5254 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.006468, allocations: 8 kB / 0.5254 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.006473, allocations: 2.75 kB / 0.5254 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.768e-05/0.00652, allocations: 7.984 kB / 0.5254 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.006528, allocations: 0 / 0.5254 GB, free: 13.8 MB / 0.4948 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 0.0001069/0.006635, allocations: 160.6 kB / 0.5255 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.006668, allocations: 3.953 kB / 0.5255 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.006804, allocations: 61.92 kB / 0.5256 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.006809, allocations: 3.938 kB / 0.5256 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.006811, allocations: 1.938 kB / 0.5256 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.006815, allocations: 0 / 0.5256 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.006947, allocations: 113.2 kB / 0.5257 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.006948, allocations: 0 / 0.5257 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.179e-05/0.006979, allocations: 11.98 kB / 0.5257 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.006981, allocations: 0.9375 kB / 0.5257 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.006986, allocations: 7.938 kB / 0.5257 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.006987, allocations: 0.7188 kB / 0.5257 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.006988, allocations: 0 / 0.5257 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.76e-05/0.007075, allocations: 196.4 kB / 0.5259 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.007083, allocations: 8 kB / 0.5259 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.474e-06/0.00709, allocations: 3.156 kB / 0.5259 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.681e-05/0.007127, allocations: 7.984 kB / 0.5259 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.007158, allocations: 7.938 kB / 0.5259 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.007161, allocations: 0 / 0.5259 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.264e-05/0.007203, allocations: 138.5 kB / 0.5261 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007203, allocations: 0 / 0.5261 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001513/0.007355, allocations: 15.95 kB / 0.5261 GB, free: 13.02 MB / 0.4948 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 9.879e-05/0.007453, allocations: 102.3 kB / 0.5262 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.587e-05/0.007529, allocations: 15.69 kB / 0.5262 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.00753, allocations: 4 kB / 0.5262 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.013e-05/0.007551, allocations: 19.61 kB / 0.5262 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.007726, allocations: 9.719 kB / 0.5262 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002361/0.007962, allocations: 159.7 kB / 0.5264 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.309e-05/0.007995, allocations: 59.34 kB / 0.5264 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.871e-05/0.008014, allocations: 4 kB / 0.5264 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.841e-05/0.008062, allocations: 77.11 kB / 0.5265 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.008062, allocations: 0 / 0.5265 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of Templates: time 0.002526/0.01059, allocations: 0.9461 MB / 0.5274 GB, free: 11.61 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9100002450868487]