Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5476/0.5476, allocations: 90.91 MB / 99.34 MB, free: 2.195 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.743/1.743, allocations: 221.5 MB / 343.2 MB, free: 1.551 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 96.55 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.011e-05/2.012e-05, allocations: 6.734 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1806, allocations: 72.31 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4995/0.6802, allocations: 102 MB / 0.6532 GB, free: 8.047 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.6805, allocations: 75.89 kB / 0.6533 GB, free: 8.008 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01182/0.6923, allocations: 3.803 MB / 0.657 GB, free: 4.777 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6924, allocations: 3.938 kB / 0.657 GB, free: 4.773 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.6924, allocations: 4 kB / 0.657 GB, free: 4.77 MB / 458.7 MB 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.0004867/0.6929, allocations: 385.9 kB / 0.6574 GB, free: 4.352 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.6929, allocations: 8.031 kB / 0.6574 GB, free: 4.344 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003783/0.6933, allocations: 71.86 kB / 0.6574 GB, free: 4.273 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.6935, allocations: 173.8 kB / 0.6576 GB, free: 4.07 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.6935, allocations: 0 / 0.6576 GB, free: 4.07 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.6935, allocations: 3.938 kB / 0.6576 GB, free: 4.066 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.803e-05/0.6936, allocations: 19.44 kB / 0.6576 GB, free: 4.055 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.2e-05/0.6937, allocations: 48.73 kB / 0.6577 GB, free: 4.008 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.6937, allocations: 4 kB / 0.6577 GB, free: 4.004 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.6938, allocations: 0 / 0.6577 GB, free: 4.004 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.6938, allocations: 3.953 kB / 0.6577 GB, free: 4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.6942, allocations: 269.9 kB / 0.6579 GB, free: 3.715 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.77e-05/0.6943, allocations: 37.58 kB / 0.658 GB, free: 3.676 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.421e-05/0.6944, allocations: 20.17 kB / 0.658 GB, free: 3.66 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.6944, allocations: 0 / 0.658 GB, free: 3.66 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.6944, allocations: 38.5 kB / 0.658 GB, free: 3.613 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.6944, allocations: 4 kB / 0.658 GB, free: 3.609 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003022/0.6947, allocations: 75.47 kB / 0.6581 GB, free: 3.539 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.6948, allocations: 55.39 kB / 0.6581 GB, free: 3.473 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.057e-05/0.6949, allocations: 89 kB / 0.6582 GB, free: 3.379 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.6949, allocations: 25.7 kB / 0.6583 GB, free: 3.348 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.608e-05/0.695, allocations: 87.7 kB / 0.6583 GB, free: 3.262 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.695, allocations: 7.938 kB / 0.6583 GB, free: 3.254 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.695, allocations: 0 / 0.6583 GB, free: 3.254 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.6951, allocations: 318 kB / 0.6587 GB, free: 2.938 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.948e-05/0.6952, allocations: 11.19 kB / 0.6587 GB, free: 2.93 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.479e-05/0.6952, allocations: 11.12 kB / 0.6587 GB, free: 2.926 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.6953, allocations: 30.97 kB / 0.6587 GB, free: 2.898 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6954, allocations: 0 / 0.6587 GB, free: 2.898 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002005/0.6956, allocations: 68.05 kB / 0.6588 GB, free: 2.832 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.6956, allocations: 5.562 kB / 0.6588 GB, free: 2.828 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.6956, allocations: 4 kB / 0.6588 GB, free: 2.824 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.6956, allocations: 0 / 0.6588 GB, free: 2.824 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.6958, allocations: 27.22 kB / 0.6588 GB, free: 2.801 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.6958, allocations: 11.98 kB / 0.6588 GB, free: 2.789 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.696, allocations: 19.97 kB / 0.6588 GB, free: 2.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.696, allocations: 4 kB / 0.6588 GB, free: 2.766 MB / 458.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 (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.877e-05/0.6961, allocations: 101 kB / 0.6589 GB, free: 2.66 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000208/0.6963, allocations: 75.3 kB / 0.659 GB, free: 2.59 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.6963, allocations: 7.906 kB / 0.659 GB, free: 2.582 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.527e-05/0.6963, allocations: 11.67 kB / 0.659 GB, free: 2.57 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.6964, allocations: 3.953 kB / 0.659 GB, free: 2.566 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6964, allocations: 0 / 0.659 GB, free: 2.566 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.6964, allocations: 0 / 0.659 GB, free: 2.566 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.6965, allocations: 144.1 kB / 0.6592 GB, free: 2.395 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.6965, allocations: 0.9375 kB / 0.6592 GB, free: 2.395 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.6967, allocations: 32 kB / 0.6592 GB, free: 2.363 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.6967, allocations: 0 / 0.6592 GB, free: 2.363 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.6967, allocations: 0 / 0.6592 GB, free: 2.363 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.6967, allocations: 7.938 kB / 0.6592 GB, free: 2.355 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.6968, allocations: 7.938 kB / 0.6592 GB, free: 2.348 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.697, allocations: 163.1 kB / 0.6594 GB, free: 2.184 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.6971, allocations: 77.11 kB / 0.6594 GB, free: 2.09 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.6971, allocations: 4 kB / 0.6594 GB, free: 2.086 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.6973, allocations: 23.97 kB / 0.6595 GB, free: 2.062 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.6973, allocations: 6.906 kB / 0.6595 GB, free: 2.059 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.6973, allocations: 7.938 kB / 0.6595 GB, free: 2.051 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.118e-05/0.6974, allocations: 87.47 kB / 0.6596 GB, free: 1.965 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.6974, allocations: 0 / 0.6596 GB, free: 1.965 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.6976, allocations: 16 kB / 0.6596 GB, free: 1.949 MB / 458.7 MB 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.0006168/0.6982, allocations: 0.7177 MB / 0.6603 GB, free: 1.219 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.6984, allocations: 25.5 kB / 0.6603 GB, free: 1.203 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.6984, allocations: 0 / 0.6603 GB, free: 1.203 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.031e-05/0.6984, allocations: 22.3 kB / 0.6603 GB, free: 1.188 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.6986, allocations: 4 kB / 0.6603 GB, free: 1.184 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005286/0.6992, allocations: 128.1 kB / 0.6605 GB, free: 1.027 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.6995, allocations: 0.6807 MB / 0.6611 GB, free: 328 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.789e-05/0.6995, allocations: 23.92 kB / 0.6611 GB, free: 304 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.6996, allocations: 10.81 kB / 0.6611 GB, free: 296 kB / 458.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6996, allocations: 0 / 0.6611 GB, free: 296 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.7203, allocations: 1.064 MB / 0.6622 GB, free: 15.25 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/0.7205, allocations: 139.6 kB / 0.6623 GB, free: 15.05 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/2.286, allocations: 0 / 0.6623 GB, free: 15.05 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)