Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) 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(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008243/0.0008243, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005229/0.005229, allocations: 168.5 kB / 16.26 MB, free: 6.648 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.406/1.406, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.682/1.682, allocations: 292.7 MB / 0.5502 GB, free: 14.44 MB / 462.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.0005025/0.0005025, allocations: 15.44 kB / 0.6743 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2336, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001644/0.2353, allocations: 1.16 MB / 0.789 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.2366, allocations: 0.8403 MB / 0.7898 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.214e-05/0.2366, allocations: 4 kB / 0.7898 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.542e-05/0.2367, allocations: 0 / 0.7898 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.511e-05/0.2367, allocations: 3.938 kB / 0.7898 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.2371, allocations: 99.19 kB / 0.7899 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.378e-05/0.2372, allocations: 39.91 kB / 0.79 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.331e-05/0.2373, allocations: 7.984 kB / 0.79 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.437e-05/0.2373, allocations: 15.92 kB / 0.79 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.2374, allocations: 15.98 kB / 0.79 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.2374, allocations: 0 / 0.79 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004202/0.2378, allocations: 323.3 kB / 0.7903 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.2379, allocations: 3.938 kB / 0.7903 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.2e-05/0.2379, allocations: 41.62 kB / 0.7904 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.2382, allocations: 191.9 kB / 0.7905 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2382, allocations: 0 / 0.7905 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2382, allocations: 4 kB / 0.7905 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.2382, allocations: 0 / 0.7905 GB, free: 8.805 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005007/0.2387, allocations: 379.4 kB / 0.7909 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.2388, allocations: 8.031 kB / 0.7909 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004705/0.2393, allocations: 88.83 kB / 0.791 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.2394, allocations: 164.3 kB / 0.7911 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.2394, allocations: 4.375 kB / 0.7912 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.2394, allocations: 4.375 kB / 0.7912 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.2397, allocations: 97.94 kB / 0.7913 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.2398, allocations: 4 kB / 0.7913 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.2398, allocations: 0 / 0.7913 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2398, allocations: 0 / 0.7913 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004473/0.2402, allocations: 123.8 kB / 0.7914 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005141/0.2408, allocations: 304.8 kB / 0.7917 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003877/0.2412, allocations: 106.5 kB / 0.7918 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.2414, allocations: 68.88 kB / 0.7918 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.2414, allocations: 3.984 kB / 0.7918 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.2414, allocations: 30.56 kB / 0.7919 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2415, allocations: 4 kB / 0.7919 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0007814/0.2422, allocations: 197.6 kB / 0.7921 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.2423, allocations: 55.41 kB / 0.7921 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.141e-05/0.2424, allocations: 101.8 kB / 0.7922 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.2424, allocations: 25.73 kB / 0.7922 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.977e-05/0.2424, allocations: 88.14 kB / 0.7923 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.2425, allocations: 3.906 kB / 0.7923 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.2425, allocations: 17.7 kB / 0.7923 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2426, allocations: 318.8 kB / 0.7926 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.2428, allocations: 55.95 kB / 0.7927 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.2431, allocations: 55.95 kB / 0.7927 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004201/0.2435, allocations: 124.7 kB / 0.7929 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2435, allocations: 0 / 0.7929 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004677/0.244, allocations: 149.5 kB / 0.793 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.244, allocations: 8.031 kB / 0.793 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.244, allocations: 0 / 0.793 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.244, allocations: 4 kB / 0.793 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.2442, allocations: 23.97 kB / 0.793 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2442, allocations: 0 / 0.793 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.2444, allocations: 27.97 kB / 0.7931 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.2444, allocations: 4 kB / 0.7931 GB, free: 5.984 MB / 0.6075 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 (2): * Single equations (assignments): 2 * 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.292e-05/0.2444, allocations: 109.8 kB / 0.7932 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.2445, allocations: 3.906 kB / 0.7932 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.141e-05/0.2445, allocations: 11.12 kB / 0.7932 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2445, allocations: 0 / 0.7932 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2445, allocations: 4 kB / 0.7932 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.2445, allocations: 0 / 0.7932 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.2447, allocations: 173.6 kB / 0.7934 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2447, allocations: 0 / 0.7934 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.2449, allocations: 31.91 kB / 0.7934 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2449, allocations: 0 / 0.7934 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.2449, allocations: 0 / 0.7934 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2449, allocations: 4 kB / 0.7934 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2449, allocations: 4 kB / 0.7934 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005268/0.2454, allocations: 243.4 kB / 0.7936 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.065e-05/0.2455, allocations: 77.36 kB / 0.7937 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.2455, allocations: 0 / 0.7937 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.2457, allocations: 27.97 kB / 0.7937 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.2457, allocations: 4 kB / 0.7937 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.2457, allocations: 8.016 kB / 0.7937 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.658e-05/0.2458, allocations: 83.28 kB / 0.7938 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2458, allocations: 0 / 0.7938 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002356/0.246, allocations: 12 kB / 0.7938 GB, free: 5.109 MB / 0.6075 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 (2): * Single equations (assignments): 2 * 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.0001734/0.2462, allocations: 115.2 kB / 0.7939 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004806/0.2467, allocations: 123.8 kB / 0.7941 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2467, allocations: 0 / 0.7941 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.2469, allocations: 60.02 kB / 0.7941 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.2472, allocations: 14.89 kB / 0.7941 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005543/0.2478, allocations: 180.6 kB / 0.7943 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.248, allocations: 0.677 MB / 0.795 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.428e-05/0.2481, allocations: 8 kB / 0.795 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.2482, allocations: 11.44 kB / 0.795 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.2482, allocations: 0 / 0.795 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of Templates: time 0.002748/0.2509, allocations: 0.7374 MB / 0.7957 GB, free: 3.137 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) Environment - environmentSimulation: