Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.Functions.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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.001362/0.001363, allocations: 177.6 kB / 8.002 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.5127/0.5127, allocations: 90.91 MB / 99.34 MB, free: 2.168 MB / 74.73 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.623/1.623, allocations: 221.5 MB / 343.2 MB, free: 1.555 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.0009609/0.0009609, allocations: 105.6 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.337e-05/2.37e-05, allocations: 8 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1488, allocations: 72.32 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.532/0.6808, allocations: 101.5 MB / 0.6528 GB, free: 8.484 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.6811, allocations: 77.7 kB / 0.6529 GB, free: 8.441 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0128/0.6939, allocations: 4.16 MB / 0.6569 GB, free: 4.938 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.694, allocations: 4.75 kB / 0.6569 GB, free: 4.934 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.694, allocations: 0 / 0.6569 GB, free: 4.934 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004597/0.6945, allocations: 378.3 kB / 0.6573 GB, free: 4.523 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/0.6945, allocations: 8.031 kB / 0.6573 GB, free: 4.516 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003862/0.6949, allocations: 63.83 kB / 0.6574 GB, free: 4.453 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.6951, allocations: 167 kB / 0.6575 GB, free: 4.25 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.6952, allocations: 3.984 kB / 0.6575 GB, free: 4.246 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.6952, allocations: 4 kB / 0.6575 GB, free: 4.242 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.462e-05/0.6953, allocations: 26.98 kB / 0.6576 GB, free: 4.223 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.832e-05/0.6954, allocations: 49.23 kB / 0.6576 GB, free: 4.172 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.6954, allocations: 4 kB / 0.6576 GB, free: 4.168 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.6954, allocations: 0 / 0.6576 GB, free: 4.168 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.6955, allocations: 3.953 kB / 0.6576 GB, free: 4.164 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002048/0.6957, allocations: 145.2 kB / 0.6577 GB, free: 3.992 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.693e-05/0.6958, allocations: 49.12 kB / 0.6578 GB, free: 3.941 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.094e-05/0.6958, allocations: 16.42 kB / 0.6578 GB, free: 3.926 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.6959, allocations: 0 / 0.6578 GB, free: 3.926 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.6959, allocations: 43.02 kB / 0.6579 GB, free: 3.875 MB / 458.7 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.6959, allocations: 0 / 0.6579 GB, free: 3.875 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.00255/0.6985, allocations: 465.9 kB / 0.6583 GB, free: 3.449 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.6985, allocations: 62.52 kB / 0.6584 GB, free: 3.379 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.6986, allocations: 104.2 kB / 0.6585 GB, free: 3.273 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.6987, allocations: 25.7 kB / 0.6585 GB, free: 3.242 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.495e-05/0.6987, allocations: 84.08 kB / 0.6586 GB, free: 3.16 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.648e-05/0.6988, allocations: 30.17 kB / 0.6586 GB, free: 3.133 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.464e-05/0.6988, allocations: 0 / 0.6586 GB, free: 3.133 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.6989, allocations: 314 kB / 0.6589 GB, free: 2.82 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.111e-05/0.699, allocations: 42.3 kB / 0.6589 GB, free: 2.789 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-05/0.6991, allocations: 37.73 kB / 0.659 GB, free: 2.766 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.6992, allocations: 58.06 kB / 0.659 GB, free: 2.719 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.6993, allocations: 0 / 0.659 GB, free: 2.719 MB / 458.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003172/0.6996, allocations: 147.2 kB / 0.6592 GB, free: 2.59 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.6996, allocations: 4 kB / 0.6592 GB, free: 2.586 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.6996, allocations: 4.094 kB / 0.6592 GB, free: 2.582 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.6997, allocations: 3.938 kB / 0.6592 GB, free: 2.578 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/0.7, allocations: 71.91 kB / 0.6592 GB, free: 2.508 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.7001, allocations: 384 / 0.6592 GB, free: 2.508 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/0.7004, allocations: 43.95 kB / 0.6593 GB, free: 2.465 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.7004, allocations: 11.94 kB / 0.6593 GB, free: 2.453 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 (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.0001046/0.7005, allocations: 105 kB / 0.6594 GB, free: 2.344 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003082/0.7008, allocations: 148.2 kB / 0.6595 GB, free: 2.215 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.1e-05/0.7008, allocations: 11.16 kB / 0.6595 GB, free: 2.207 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.7009, allocations: 12 kB / 0.6596 GB, free: 2.203 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.7009, allocations: 0 / 0.6596 GB, free: 2.203 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.7009, allocations: 3.953 kB / 0.6596 GB, free: 2.199 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.7009, allocations: 0 / 0.6596 GB, free: 2.199 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.7021, allocations: 0.509 MB / 0.6601 GB, free: 1.668 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.7021, allocations: 7.984 kB / 0.6601 GB, free: 1.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003157/0.7025, allocations: 70.62 kB / 0.6601 GB, free: 1.594 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.7025, allocations: 7.938 kB / 0.6601 GB, free: 1.586 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.7025, allocations: 4 kB / 0.6601 GB, free: 1.582 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.7025, allocations: 0 / 0.6601 GB, free: 1.582 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.7025, allocations: 3.984 kB / 0.6601 GB, free: 1.578 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.7029, allocations: 257.3 kB / 0.6604 GB, free: 1.312 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-05/0.703, allocations: 85.02 kB / 0.6605 GB, free: 1.211 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.703, allocations: 3.984 kB / 0.6605 GB, free: 1.207 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.7033, allocations: 43.97 kB / 0.6605 GB, free: 1.164 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.7034, allocations: 19.16 kB / 0.6605 GB, free: 1.148 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.7034, allocations: 7.984 kB / 0.6605 GB, free: 1.141 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.977e-05/0.7035, allocations: 86.17 kB / 0.6606 GB, free: 1.059 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7035, allocations: 0 / 0.6606 GB, free: 1.059 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002932/0.7038, allocations: 35.94 kB / 0.6607 GB, free: 1.023 MB / 458.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.0007968/0.7046, allocations: 0.9642 MB / 0.6616 GB, free: 40 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002408/0.7048, allocations: 88.08 kB / 0.6617 GB, free: 15.98 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.7048, allocations: 0 / 0.6617 GB, free: 15.98 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.636e-05/0.7049, allocations: 51.12 kB / 0.6617 GB, free: 15.93 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.7051, allocations: 11.39 kB / 0.6617 GB, free: 15.93 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.7067, allocations: 392.4 kB / 0.6621 GB, free: 15.51 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.707, allocations: 0.6852 MB / 0.6628 GB, free: 14.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000146/0.7072, allocations: 24.66 kB / 0.6628 GB, free: 14.77 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.7073, allocations: 38.39 kB / 0.6629 GB, free: 14.74 MB / 474.7 MB Notification: Performance of SimCode: time 1.773e-06/0.7073, allocations: 0 / 0.6629 GB, free: 14.74 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.7298, allocations: 2.272 MB / 0.6651 GB, free: 12.48 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/0.7301, allocations: 158.9 kB / 0.6652 GB, free: 12.29 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.364, allocations: 0 / 0.6652 GB, free: 12.29 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)