Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7595/0.7595, allocations: 128.7 MB / 143.7 MB, free: 2.301 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001185/0.001185, allocations: 184.4 kB / 173.8 MB, free: 6.102 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.823/1.823, allocations: 205.4 MB / 409 MB, free: 10.48 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 86.81 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003405, allocations: 13.06 kB / 0.5604 GB, free: 97.58 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1522, allocations: 76.76 MB / 0.6353 GB, free: 30.53 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1446/0.2969, allocations: 103.9 MB / 0.7368 GB, free: 6.508 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.2973, allocations: 79.95 kB / 0.7368 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01212/0.3094, allocations: 3.977 MB / 0.7407 GB, free: 2.441 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3094, allocations: 0 / 0.7407 GB, free: 2.441 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.3095, allocations: 0 / 0.7407 GB, free: 2.441 MB / 0.5105 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.0005053/0.31, allocations: 391 kB / 0.7411 GB, free: 2.012 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.31, allocations: 12.03 kB / 0.7411 GB, free: 2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003685/0.3104, allocations: 71.88 kB / 0.7412 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.3105, allocations: 159.1 kB / 0.7413 GB, free: 1.734 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.3106, allocations: 4 kB / 0.7413 GB, free: 1.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.3106, allocations: 0 / 0.7413 GB, free: 1.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.3109, allocations: 105.5 kB / 0.7414 GB, free: 1.621 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.3109, allocations: 0 / 0.7414 GB, free: 1.621 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3109, allocations: 3.938 kB / 0.7414 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3109, allocations: 0 / 0.7414 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004007/0.3113, allocations: 115.9 kB / 0.7415 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.3118, allocations: 288.9 kB / 0.7418 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000357/0.3122, allocations: 114.5 kB / 0.7419 GB, free: 1.051 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.3122, allocations: 4.062 kB / 0.7419 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.3123, allocations: 34.5 kB / 0.742 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.3123, allocations: 0 / 0.742 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0007204/0.313, allocations: 209.5 kB / 0.7422 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.313, allocations: 55.39 kB / 0.7422 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.523e-05/0.3131, allocations: 93 kB / 0.7423 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.3131, allocations: 25.7 kB / 0.7423 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.3132, allocations: 92.11 kB / 0.7424 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.3132, allocations: 3.906 kB / 0.7424 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.3132, allocations: 0 / 0.7424 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.3134, allocations: 322.8 kB / 0.7427 GB, free: 180 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.3136, allocations: 55.95 kB / 0.7428 GB, free: 124 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.3138, allocations: 59.95 kB / 0.7428 GB, free: 64 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.314, allocations: 55.95 kB / 0.7429 GB, free: 8 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.314, allocations: 0 / 0.7429 GB, free: 8 kB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.2914/0.6054, allocations: 143.4 kB / 0.743 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.6055, allocations: 5.766 kB / 0.743 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.6055, allocations: 0.6875 kB / 0.743 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.6055, allocations: 0 / 0.743 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.6058, allocations: 30.27 kB / 0.7431 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.6058, allocations: 2.547 kB / 0.7431 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.606, allocations: 27.05 kB / 0.7431 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.606, allocations: 2.406 kB / 0.7431 GB, free: 108.8 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.473e-05/0.6061, allocations: 113 kB / 0.7432 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.6061, allocations: 1.156 kB / 0.7432 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.595e-05/0.6061, allocations: 7.172 kB / 0.7432 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.6061, allocations: 4.578 kB / 0.7432 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.6062, allocations: 0 / 0.7432 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.6062, allocations: 1.125 kB / 0.7432 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.6063, allocations: 176.7 kB / 0.7434 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6063, allocations: 2.375 kB / 0.7434 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.6065, allocations: 31.75 kB / 0.7434 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.6065, allocations: 2.594 kB / 0.7434 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.6065, allocations: 1.484 kB / 0.7434 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.6065, allocations: 1.469 kB / 0.7434 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6065, allocations: 0 / 0.7434 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004899/0.607, allocations: 241.2 kB / 0.7437 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.6071, allocations: 86.61 kB / 0.7437 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.6071, allocations: 1.281 kB / 0.7437 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.6073, allocations: 26.69 kB / 0.7438 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.6073, allocations: 3.75 kB / 0.7438 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.6073, allocations: 1.688 kB / 0.7438 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.069e-05/0.6074, allocations: 84.39 kB / 0.7438 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6074, allocations: 0 / 0.7438 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002539/0.6076, allocations: 15.66 kB / 0.7439 GB, free: 108.2 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001435/0.6078, allocations: 124.7 kB / 0.744 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004542/0.6082, allocations: 120.2 kB / 0.7441 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6082, allocations: 1.719 kB / 0.7441 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.6085, allocations: 58.14 kB / 0.7442 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.6086, allocations: 4.734 kB / 0.7442 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005074/0.6092, allocations: 173.8 kB / 0.7443 GB, free: 108 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.735e-05/0.6093, allocations: 0.6787 MB / 0.745 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.134e-05/0.6094, allocations: 12.84 kB / 0.745 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.6094, allocations: 11.91 kB / 0.745 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of SimCode: time 8.12e-07/0.6094, allocations: 0 / 0.745 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.002571/0.612, allocations: 0.7158 MB / 0.7457 GB, free: 107.3 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)