Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile") translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.00144/0.00144, allocations: 198.6 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 205.1 MB / 222.1 MB, free: 4.75 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 51.92 kB / 278.2 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2974, allocations: 46.63 MB / 324.8 MB, free: 1.867 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.001946/0.2994, allocations: 0.5407 MB / 325.4 MB, free: 1.457 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002633/0.2997, allocations: 62.55 kB / 325.4 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.521e-05/0.2998, allocations: 0 / 325.4 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 3.51e-05/0.2998, allocations: 1.469 kB / 325.4 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 8.027e-05/0.2999, allocations: 10.83 kB / 325.4 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.3001, allocations: 27.75 kB / 325.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.3002, allocations: 24.64 kB / 325.5 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.744e-05/0.3002, allocations: 2.062 kB / 325.5 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.624e-05/0.3003, allocations: 14.97 kB / 325.5 MB, free: 1.371 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.81e-05/0.3004, allocations: 23.02 kB / 325.5 MB, free: 1.363 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.3004, allocations: 5.375 kB / 325.5 MB, free: 1.359 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.589e-05/0.3004, allocations: 4.188 kB / 325.5 MB, free: 1.359 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 5.118e-05/0.3005, allocations: 11.33 kB / 325.6 MB, free: 1.352 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.3005, allocations: 7.906 kB / 325.6 MB, free: 1.348 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.3007, allocations: 27.75 kB / 325.6 MB, free: 1.332 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3007, allocations: 0 / 325.6 MB, free: 1.332 MB / 254.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3007, allocations: 3.938 kB / 325.6 MB, free: 1.328 MB / 254.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3007, allocations: 1.312 kB / 325.6 MB, free: 1.328 MB / 254.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004158/0.3011, allocations: 361.7 kB / 326 MB, free: 0.9297 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.3012, allocations: 9.312 kB / 326 MB, free: 0.9297 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.3012, allocations: 11.03 kB / 326 MB, free: 0.9219 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.359e-05/0.3013, allocations: 166.6 kB / 326.1 MB, free: 0.7227 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3013, allocations: 1.5 kB / 326.1 MB, free: 0.7227 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.3013, allocations: 2.562 kB / 326.1 MB, free: 0.7227 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.3015, allocations: 62.52 kB / 326.2 MB, free: 0.6797 MB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.3015, allocations: 1.281 kB / 326.2 MB, free: 0.6797 MB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3015, allocations: 3.938 kB / 326.2 MB, free: 0.6758 MB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3015, allocations: 1.062 kB / 326.2 MB, free: 0.6758 MB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.705e-05/0.3016, allocations: 34.53 kB / 326.2 MB, free: 0.6641 MB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000114/0.3017, allocations: 158.3 kB / 326.4 MB, free: 476 kB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.704e-05/0.3018, allocations: 42.97 kB / 326.4 MB, free: 448 kB / 254.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.269e-05/0.3018, allocations: 35.73 kB / 326.5 MB, free: 432 kB / 254.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.949e-06/0.3018, allocations: 5.188 kB / 326.5 MB, free: 428 kB / 254.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.3019, allocations: 57.39 kB / 326.5 MB, free: 356 kB / 254.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3019, allocations: 1.312 kB / 326.5 MB, free: 356 kB / 254.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002805/0.3021, allocations: 190.6 kB / 326.7 MB, free: 260 kB / 254.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.3022, allocations: 81.14 kB / 326.8 MB, free: 160 kB / 254.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.393e-05/0.3023, allocations: 111.2 kB / 326.9 MB, free: 52 kB / 254.1 MB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.3023, allocations: 25.7 kB / 326.9 MB, free: 20 kB / 254.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.3023, allocations: 96.05 kB / 327 MB, free: 15.92 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.3024, allocations: 7.219 kB / 327 MB, free: 15.92 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.3024, allocations: 19.09 kB / 327.1 MB, free: 15.9 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3025, allocations: 314.8 kB / 327.4 MB, free: 15.59 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.225e-05/0.3026, allocations: 23.36 kB / 327.4 MB, free: 15.58 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.678e-05/0.3026, allocations: 37.39 kB / 327.4 MB, free: 15.57 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.3027, allocations: 116.8 kB / 327.5 MB, free: 15.48 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3027, allocations: 1.344 kB / 327.5 MB, free: 15.48 MB / 270.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001652/0.3029, allocations: 151.9 kB / 327.7 MB, free: 15.4 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.3029, allocations: 40.16 kB / 327.7 MB, free: 15.36 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.3029, allocations: 3.938 kB / 327.7 MB, free: 15.36 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.303, allocations: 0 / 327.7 MB, free: 15.36 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.303, allocations: 1.469 kB / 327.7 MB, free: 15.36 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.303, allocations: 0 / 327.7 MB, free: 15.36 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.086e-05/0.303, allocations: 1.5 kB / 327.7 MB, free: 15.36 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.303, allocations: 6.938 kB / 327.7 MB, free: 15.36 MB / 270.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: 4 (success4,success3,success2,success1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.737e-05/0.3031, allocations: 143.2 kB / 327.9 MB, free: 15.21 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.642e-05/0.3031, allocations: 6.969 kB / 327.9 MB, free: 15.2 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.748e-05/0.3032, allocations: 13.34 kB / 327.9 MB, free: 15.19 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.3032, allocations: 3.938 kB / 327.9 MB, free: 15.18 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3032, allocations: 1.094 kB / 327.9 MB, free: 15.18 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3032, allocations: 0 / 327.9 MB, free: 15.18 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.3033, allocations: 160.2 kB / 328.1 MB, free: 14.98 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3033, allocations: 1.062 kB / 328.1 MB, free: 14.98 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.3033, allocations: 4 kB / 328.1 MB, free: 14.98 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3033, allocations: 1.125 kB / 328.1 MB, free: 14.98 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.3034, allocations: 5.625 kB / 328.1 MB, free: 14.98 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3034, allocations: 1.062 kB / 328.1 MB, free: 14.98 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3034, allocations: 0 / 328.1 MB, free: 14.98 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.3036, allocations: 191.3 kB / 328.3 MB, free: 14.86 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.3036, allocations: 82.52 kB / 328.3 MB, free: 14.76 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.3037, allocations: 10.94 kB / 328.3 MB, free: 14.75 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.239e-05/0.3037, allocations: 5.344 kB / 328.4 MB, free: 14.75 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/0.3037, allocations: 3.984 kB / 328.4 MB, free: 14.74 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.3037, allocations: 2.75 kB / 328.4 MB, free: 14.74 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.627e-05/0.3038, allocations: 87.64 kB / 328.4 MB, free: 14.66 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.573e-06/0.3038, allocations: 3.938 kB / 328.4 MB, free: 14.66 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0001922/0.304, allocations: 13.16 kB / 328.5 MB, free: 14.66 MB / 270.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: 4 (success1,success2,success3,success4) * Number of discrete states: 4 (success4,success3,success2,success1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002865/0.3043, allocations: 138 kB / 328.6 MB, free: 14.54 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001731/0.3045, allocations: 123.9 kB / 328.7 MB, free: 14.46 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3045, allocations: 0 / 328.7 MB, free: 14.46 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 8.195e-05/0.3046, allocations: 94.52 kB / 328.8 MB, free: 14.38 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.3047, allocations: 7.172 kB / 328.8 MB, free: 14.38 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.3051, allocations: 150.8 kB / 329 MB, free: 14.25 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.3053, allocations: 0.6848 MB / 329.6 MB, free: 13.55 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.803e-06/0.3054, allocations: 0 / 329.6 MB, free: 13.55 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.658e-06/0.3054, allocations: 7.438 kB / 329.7 MB, free: 13.54 MB / 270.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3054, allocations: 0 / 329.7 MB, free: 13.54 MB / 270.1 MB Notification: Performance of Templates: time 0.003157/0.3085, allocations: 0.6747 MB / 330.3 MB, free: 13.2 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile.makefile (rm -f Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; mkfifo Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe >> ../files/Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile.sim & ./Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe 2>&1)