Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 118.4 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 183 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2131/0.2131, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 63.89 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3384, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001356/0.3398, allocations: 496.8 kB / 0.5189 GB, free: 2.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002382/0.3422, allocations: 1.986 MB / 0.5208 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-06/0.3422, allocations: 1.094 kB / 0.5208 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.459e-06/0.3422, allocations: 0 / 0.5208 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.66e-06/0.3422, allocations: 0 / 0.5208 GB, free: 1.586 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/package.mo:697:5-750:29:writable] Warning: Pure function 'Modelica.Math.Matrices.Examples.solveLinearEquations' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.3438, allocations: 0.519 MB / 0.5213 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 1.498e-05/0.3438, allocations: 0 / 0.5213 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.934e-05/0.3438, allocations: 1.859 kB / 0.5213 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.237e-06/0.3438, allocations: 3.984 kB / 0.5213 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.837e-06/0.3439, allocations: 0 / 0.5213 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.747e-06/0.3439, allocations: 1.281 kB / 0.5213 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.3452, allocations: 0.8818 MB / 0.5222 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.572e-06/0.3453, allocations: 0 / 0.5222 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.404e-05/0.3453, allocations: 0 / 0.5222 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.3463, allocations: 0.785 MB / 0.523 GB, free: 1.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3463, allocations: 0 / 0.523 GB, free: 1.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3464, allocations: 0.6094 kB / 0.523 GB, free: 1.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3464, allocations: 0 / 0.523 GB, free: 1.02 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002905/0.3467, allocations: 384.5 kB / 0.5233 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3467, allocations: 9.875 kB / 0.5233 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.373e-05/0.3467, allocations: 106.7 kB / 0.5234 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/0.3468, allocations: 81.47 kB / 0.5235 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.848e-05/0.3469, allocations: 244.9 kB / 0.5238 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.3469, allocations: 154.9 kB / 0.5239 GB, free: 0 / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.247e-05/0.347, allocations: 152.1 kB / 0.524 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.767e-05/0.347, allocations: 105.8 kB / 0.5241 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.3471, allocations: 84.53 kB / 0.5242 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.716e-05/0.3471, allocations: 151.1 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.75e-05/0.3472, allocations: 154.6 kB / 0.5245 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.487e-05/0.3472, allocations: 151.8 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/0.3475, allocations: 444.9 kB / 0.5251 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.819e-05/0.3476, allocations: 165.1 kB / 0.5252 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.04e-05/0.3476, allocations: 90.02 kB / 0.5253 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.3477, allocations: 75.28 kB / 0.5254 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.386e-05/0.3477, allocations: 111.4 kB / 0.5255 GB, free: 14.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3477, allocations: 0 / 0.5255 GB, free: 14.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.559e-05/0.3478, allocations: 27.53 kB / 0.5255 GB, free: 14.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.806e-05/0.3479, allocations: 158.5 kB / 0.5257 GB, free: 14.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.699e-05/0.3479, allocations: 93.86 kB / 0.5258 GB, free: 13.97 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.3479, allocations: 25.7 kB / 0.5258 GB, free: 13.94 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.641e-05/0.348, allocations: 81.45 kB / 0.5259 GB, free: 13.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.348, allocations: 0 / 0.5259 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.12e-05/0.348, allocations: 11.66 kB / 0.5259 GB, free: 13.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.3481, allocations: 312.8 kB / 0.5262 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-06/0.3482, allocations: 3.938 kB / 0.5262 GB, free: 13.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.808e-05/0.3482, allocations: 3.938 kB / 0.5262 GB, free: 13.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.364e-05/0.3482, allocations: 80.91 kB / 0.5263 GB, free: 13.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.636e-05/0.3482, allocations: 76.28 kB / 0.5263 GB, free: 13.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.177e-05/0.3483, allocations: 28.75 kB / 0.5264 GB, free: 13.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/0.3483, allocations: 84.83 kB / 0.5265 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.878e-05/0.3484, allocations: 75.94 kB / 0.5265 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.645e-05/0.3485, allocations: 160.6 kB / 0.5267 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.58e-05/0.3485, allocations: 80.55 kB / 0.5268 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-05/0.3486, allocations: 160.6 kB / 0.5269 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.155e-05/0.3487, allocations: 81.05 kB / 0.527 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.3487, allocations: 75.28 kB / 0.5271 GB, free: 12.64 MB / 398.1 MB 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 (0): * Single equations (assignments): 0 * 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.0001618/0.3489, allocations: 263.8 kB / 0.5273 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-05/0.349, allocations: 110.8 kB / 0.5274 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.373e-05/0.349, allocations: 105.9 kB / 0.5275 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.759e-05/0.3491, allocations: 185.9 kB / 0.5277 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.23e-05/0.3492, allocations: 178.6 kB / 0.5279 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.884e-05/0.3492, allocations: 182.2 kB / 0.528 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.3495, allocations: 400 kB / 0.5284 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.909e-05/0.3495, allocations: 102.9 kB / 0.5285 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.521e-05/0.3495, allocations: 109.7 kB / 0.5286 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.598e-05/0.3496, allocations: 182.4 kB / 0.5288 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-05/0.3497, allocations: 181.3 kB / 0.529 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.529e-05/0.3497, allocations: 178.4 kB / 0.5291 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-05/0.3498, allocations: 186.3 kB / 0.5293 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.35, allocations: 309 kB / 0.5296 GB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.827e-05/0.35, allocations: 192.2 kB / 0.5298 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.123e-05/0.3501, allocations: 178.3 kB / 0.53 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.368e-05/0.3502, allocations: 107.1 kB / 0.5301 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/0.3503, allocations: 181.3 kB / 0.5302 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.3503, allocations: 106.9 kB / 0.5303 GB, free: 9.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.76e-05/0.3503, allocations: 76.34 kB / 0.5304 GB, free: 9.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3503, allocations: 0 / 0.5304 GB, free: 9.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006772/0.351, allocations: 149.8 kB / 0.5306 GB, free: 8.992 MB / 398.1 MB 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 (0): * Single equations (assignments): 0 * 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.0009056/0.3519, allocations: 0.9668 MB / 0.5315 GB, free: 8.121 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 4.534e-05/0.352, allocations: 2.047 kB / 0.5315 GB, free: 8.121 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.352, allocations: 9.219 kB / 0.5315 GB, free: 8.113 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/0.352, allocations: 0 / 0.5315 GB, free: 8.113 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.3524, allocations: 458.5 kB / 0.5319 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003968/0.3528, allocations: 216.1 kB / 0.5322 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.3531, allocations: 0.6735 MB / 0.5328 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.378e-06/0.3531, allocations: 2.375 kB / 0.5328 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.231e-05/0.3531, allocations: 12.97 kB / 0.5328 GB, free: 6.727 MB / 398.1 MB Notification: Performance of SimCode: time 1.593e-06/0.3531, allocations: 0 / 0.5328 GB, free: 6.727 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.378, allocations: 4.264 MB / 0.537 GB, free: 4.551 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.655/8.033, allocations: 17.47 kB / 0.537 GB, free: 4.539 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1)