Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.Functions.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_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.7144/0.7144, allocations: 127.3 MB / 139.8 MB, free: 15.52 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 184.8 kB / 169.7 MB, free: 1.734 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.797/1.797, allocations: 205.1 MB / 404.5 MB, free: 1.645 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.0008642/0.0008645, allocations: 82.19 kB / 481.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.104e-05/5.119e-05, allocations: 7.984 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1974, allocations: 76.76 MB / 0.6283 GB, free: 9.902 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6849/0.8824, allocations: 103.4 MB / 0.7292 GB, free: 10.08 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003991/0.8829, allocations: 83.19 kB / 0.7293 GB, free: 10.03 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01491/0.8978, allocations: 4.335 MB / 0.7335 GB, free: 6.312 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.8979, allocations: 3.938 kB / 0.7335 GB, free: 6.309 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.8979, allocations: 0 / 0.7335 GB, free: 6.309 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000667/0.8986, allocations: 381.4 kB / 0.7339 GB, free: 5.898 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.881e-05/0.8987, allocations: 12.03 kB / 0.7339 GB, free: 5.887 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.348e-05/0.8988, allocations: 30.56 kB / 0.7339 GB, free: 5.848 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003735/0.8992, allocations: 68.58 kB / 0.734 GB, free: 5.781 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.8994, allocations: 167 kB / 0.7342 GB, free: 5.578 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.8995, allocations: 3.625 kB / 0.7342 GB, free: 5.578 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.8995, allocations: 8 kB / 0.7342 GB, free: 5.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.8997, allocations: 50.55 kB / 0.7342 GB, free: 5.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.8997, allocations: 0 / 0.7342 GB, free: 5.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.8997, allocations: 4 kB / 0.7342 GB, free: 5.516 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.8998, allocations: 0 / 0.7342 GB, free: 5.516 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.889e-05/0.8999, allocations: 23.38 kB / 0.7342 GB, free: 5.496 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002759/0.9001, allocations: 170.8 kB / 0.7344 GB, free: 5.289 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.9003, allocations: 47.83 kB / 0.7344 GB, free: 5.242 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/0.9003, allocations: 19.98 kB / 0.7345 GB, free: 5.223 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.9004, allocations: 11.86 kB / 0.7345 GB, free: 5.211 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/0.9004, allocations: 33.88 kB / 0.7345 GB, free: 5.172 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.9004, allocations: 0 / 0.7345 GB, free: 5.172 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.002645/0.9031, allocations: 440.3 kB / 0.7349 GB, free: 4.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.9032, allocations: 51.41 kB / 0.735 GB, free: 4.707 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.9033, allocations: 103.3 kB / 0.7351 GB, free: 4.605 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.9034, allocations: 25.7 kB / 0.7351 GB, free: 4.574 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.241e-05/0.9035, allocations: 87.52 kB / 0.7352 GB, free: 4.488 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.814e-05/0.9035, allocations: 34.84 kB / 0.7352 GB, free: 4.457 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/0.9036, allocations: 0 / 0.7352 GB, free: 4.457 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.9038, allocations: 314.2 kB / 0.7355 GB, free: 4.145 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.9039, allocations: 50.22 kB / 0.7356 GB, free: 4.109 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.534e-05/0.904, allocations: 41.67 kB / 0.7356 GB, free: 4.078 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.979e-05/0.9041, allocations: 34.3 kB / 0.7356 GB, free: 4.055 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.9041, allocations: 0 / 0.7356 GB, free: 4.055 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003119/0.9044, allocations: 134.7 kB / 0.7358 GB, free: 3.938 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.9045, allocations: 4 kB / 0.7358 GB, free: 3.934 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.9045, allocations: 3.984 kB / 0.7358 GB, free: 3.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.9045, allocations: 0 / 0.7358 GB, free: 3.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004578/0.905, allocations: 75.66 kB / 0.7358 GB, free: 3.859 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.03e-05/0.905, allocations: 7.953 kB / 0.7359 GB, free: 3.852 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.9053, allocations: 43.95 kB / 0.7359 GB, free: 3.809 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.9054, allocations: 8.609 kB / 0.7359 GB, free: 3.801 MB / 490.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0001553/0.9055, allocations: 112.9 kB / 0.736 GB, free: 3.688 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.9056, allocations: 7.906 kB / 0.736 GB, free: 3.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.578e-05/0.9056, allocations: 7.938 kB / 0.736 GB, free: 3.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.9056, allocations: 4 kB / 0.736 GB, free: 3.676 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.9056, allocations: 0 / 0.736 GB, free: 3.676 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.9056, allocations: 3.953 kB / 0.736 GB, free: 3.672 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.907, allocations: 0.5155 MB / 0.7365 GB, free: 3.133 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.907, allocations: 0 / 0.7365 GB, free: 3.133 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/0.9074, allocations: 71.98 kB / 0.7366 GB, free: 3.062 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.9074, allocations: 7.953 kB / 0.7366 GB, free: 3.055 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.9074, allocations: 3.984 kB / 0.7366 GB, free: 3.051 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.9074, allocations: 8 kB / 0.7366 GB, free: 3.043 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.9074, allocations: 400 / 0.7366 GB, free: 3.043 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.9078, allocations: 244.6 kB / 0.7369 GB, free: 2.793 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.542e-05/0.9079, allocations: 89 kB / 0.7369 GB, free: 2.688 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.9079, allocations: 4 kB / 0.737 GB, free: 2.684 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002928/0.9082, allocations: 55.14 kB / 0.737 GB, free: 2.633 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.9083, allocations: 7.984 kB / 0.737 GB, free: 2.625 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.9083, allocations: 7.984 kB / 0.737 GB, free: 2.617 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.388e-05/0.9084, allocations: 90.83 kB / 0.7371 GB, free: 2.531 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.9084, allocations: 0 / 0.7371 GB, free: 2.531 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003259/0.9087, allocations: 47.17 kB / 0.7371 GB, free: 2.488 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.000997/0.9097, allocations: 0.9372 MB / 0.7381 GB, free: 1.531 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.91, allocations: 99.94 kB / 0.7382 GB, free: 1.457 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.91, allocations: 0 / 0.7382 GB, free: 1.457 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.9101, allocations: 51.59 kB / 0.7382 GB, free: 1.414 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.9103, allocations: 12.77 kB / 0.7382 GB, free: 1.406 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.9119, allocations: 412.8 kB / 0.7386 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.9123, allocations: 0.6887 MB / 0.7393 GB, free: 268 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001489/0.9125, allocations: 24.67 kB / 0.7393 GB, free: 240 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.9126, allocations: 30.45 kB / 0.7393 GB, free: 212 kB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.9126, allocations: 0 / 0.7393 GB, free: 212 kB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.9293, allocations: 2.659 MB / 0.7419 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002466/0.9296, allocations: 170.6 kB / 0.7421 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/2.73, allocations: 0 / 0.7421 GB, free: 13.46 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)