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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8352/0.8352, allocations: 127.4 MB / 134.9 MB, free: 3.508 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.001216/0.001216, allocations: 183.2 kB / 164.7 MB, free: 11.6 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.898/1.898, allocations: 205.2 MB / 399.5 MB, free: 13.56 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.00108/0.00108, allocations: 101.6 kB / 476.7 MB, free: 1.508 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.724e-05/2.73e-05, allocations: 5.344 kB / 0.5467 GB, free: 95.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1621, allocations: 76.78 MB / 0.6216 GB, free: 43.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1311/0.2933, allocations: 103.1 MB / 0.7223 GB, free: 3.754 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.2936, allocations: 79.94 kB / 0.7224 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01189/0.3055, allocations: 3.935 MB / 0.7262 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3056, allocations: 0 / 0.7262 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.3056, allocations: 3.938 kB / 0.7263 GB, free: 15.73 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.0004339/0.306, allocations: 390.3 kB / 0.7266 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.3061, allocations: 8.031 kB / 0.7266 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003798/0.3065, allocations: 67.88 kB / 0.7267 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.3066, allocations: 159.1 kB / 0.7268 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.3066, allocations: 8 kB / 0.7269 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.3066, allocations: 0 / 0.7269 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.981e-05/0.3067, allocations: 24 kB / 0.7269 GB, free: 15 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.035e-05/0.3068, allocations: 45.67 kB / 0.7269 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.3069, allocations: 0 / 0.7269 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3069, allocations: 0 / 0.7269 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3069, allocations: 4 kB / 0.7269 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.3073, allocations: 281.3 kB / 0.7272 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.662e-05/0.3074, allocations: 34.58 kB / 0.7272 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.005e-05/0.3074, allocations: 20.92 kB / 0.7272 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.3075, allocations: 0 / 0.7272 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.3075, allocations: 30.56 kB / 0.7273 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.3075, allocations: 4 kB / 0.7273 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002764/0.3078, allocations: 81.55 kB / 0.7274 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.3078, allocations: 51.41 kB / 0.7274 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.252e-05/0.3079, allocations: 96.94 kB / 0.7275 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.3079, allocations: 25.7 kB / 0.7275 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.308, allocations: 80.14 kB / 0.7276 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.308, allocations: 11.91 kB / 0.7276 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.308, allocations: 0 / 0.7276 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.084e-05/0.3081, allocations: 318.9 kB / 0.7279 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.676e-05/0.3081, allocations: 8 kB / 0.7279 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.399e-05/0.3082, allocations: 12 kB / 0.7279 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.3083, allocations: 27.97 kB / 0.728 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3083, allocations: 0 / 0.728 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000178/0.3085, allocations: 73.73 kB / 0.728 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3085, allocations: 4 kB / 0.728 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3085, allocations: 0 / 0.728 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.3085, allocations: 4 kB / 0.728 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.3087, allocations: 23.97 kB / 0.7281 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3087, allocations: 0 / 0.7281 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.3089, allocations: 39.83 kB / 0.7281 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.3089, allocations: 4 kB / 0.7281 GB, free: 13.63 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 () * 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 6.098e-05/0.3089, allocations: 101 kB / 0.7282 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001873/0.3091, allocations: 77.56 kB / 0.7283 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.3092, allocations: 7.984 kB / 0.7283 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.201e-05/0.3092, allocations: 3.75 kB / 0.7283 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3092, allocations: 7.891 kB / 0.7283 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3092, allocations: 0 / 0.7283 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3092, allocations: 256 / 0.7283 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.3094, allocations: 146.2 kB / 0.7284 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.3094, allocations: 7.984 kB / 0.7284 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.3095, allocations: 28.02 kB / 0.7285 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3096, allocations: 0 / 0.7285 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.3096, allocations: 3.984 kB / 0.7285 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3096, allocations: 0 / 0.7285 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3096, allocations: 0 / 0.7285 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.3098, allocations: 175.4 kB / 0.7286 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/0.3099, allocations: 81.02 kB / 0.7287 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.3099, allocations: 7.922 kB / 0.7287 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.31, allocations: 19.98 kB / 0.7287 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.3101, allocations: 7.984 kB / 0.7287 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.3101, allocations: 4.031 kB / 0.7288 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.664e-05/0.3101, allocations: 87.23 kB / 0.7288 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3101, allocations: 0 / 0.7288 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002206/0.3104, allocations: 16 kB / 0.7289 GB, free: 12.78 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 () * 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.0004956/0.3109, allocations: 0.7075 MB / 0.7295 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.311, allocations: 31.92 kB / 0.7296 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.311, allocations: 0 / 0.7296 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.586e-05/0.311, allocations: 12 kB / 0.7296 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.3112, allocations: 8 kB / 0.7296 GB, free: 12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005002/0.3117, allocations: 125.7 kB / 0.7297 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.312, allocations: 0.6846 MB / 0.7304 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.941e-05/0.312, allocations: 8 kB / 0.7304 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.3121, allocations: 15.44 kB / 0.7304 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of SimCode: time 2.7e-07/0.3121, allocations: 0 / 0.7304 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/0.3323, allocations: 1.072 MB / 0.7315 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/0.3326, allocations: 148.2 kB / 0.7316 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.522/1.855, allocations: 1.625 kB / 0.7316 GB, free: 9.848 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)