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.7754/0.7754, allocations: 128.7 MB / 143.7 MB, free: 2.328 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.00112/0.00112, allocations: 184.4 kB / 173.8 MB, free: 6.121 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.566/1.566, allocations: 205.4 MB / 409 MB, free: 10.5 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.001003/0.001003, allocations: 88.67 kB / 486.5 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003518, allocations: 15.88 kB / 0.5604 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1457, allocations: 76.77 MB / 0.6354 GB, free: 30.43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1357/0.2814, allocations: 103.5 MB / 0.7364 GB, free: 6.836 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.2817, allocations: 83.92 kB / 0.7365 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01292/0.2946, allocations: 4.375 MB / 0.7408 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.735e-06/0.2946, allocations: 0 / 0.7408 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.2947, allocations: 0 / 0.7408 GB, free: 2.371 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005241/0.2952, allocations: 383.1 kB / 0.7412 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.2953, allocations: 11.97 kB / 0.7412 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.477e-05/0.2953, allocations: 34.56 kB / 0.7412 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002809/0.2956, allocations: 63.8 kB / 0.7413 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.2958, allocations: 179 kB / 0.7414 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.2958, allocations: 4 kB / 0.7414 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.2958, allocations: 7.938 kB / 0.7415 GB, free: 1.605 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.2961, allocations: 77.64 kB / 0.7415 GB, free: 1.523 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2961, allocations: 0 / 0.7415 GB, free: 1.523 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.2961, allocations: 4 kB / 0.7415 GB, free: 1.52 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.2962, allocations: 0 / 0.7415 GB, free: 1.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003492/0.2965, allocations: 95.8 kB / 0.7416 GB, free: 1.426 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/0.2967, allocations: 165.7 kB / 0.7418 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005176/0.2972, allocations: 142.5 kB / 0.7419 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.2973, allocations: 0 / 0.7419 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.2973, allocations: 38.62 kB / 0.742 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.2973, allocations: 4 kB / 0.742 GB, free: 1.016 MB / 0.5105 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.3185/0.6158, allocations: 1.018 MB / 0.7429 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.6159, allocations: 55.02 kB / 0.743 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.616, allocations: 102.1 kB / 0.7431 GB, free: 109 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.6161, allocations: 27.42 kB / 0.7431 GB, free: 109 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.749e-05/0.6161, allocations: 85.59 kB / 0.7432 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.915e-05/0.6162, allocations: 33.84 kB / 0.7432 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/0.6162, allocations: 1.156 kB / 0.7432 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.29e-05/0.6163, allocations: 320.7 kB / 0.7435 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004592/0.6167, allocations: 130.5 kB / 0.7437 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004307/0.6172, allocations: 126.9 kB / 0.7438 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004286/0.6176, allocations: 129.3 kB / 0.7439 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6176, allocations: 0 / 0.7439 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009594/0.6186, allocations: 314.6 kB / 0.7442 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.6186, allocations: 11.81 kB / 0.7442 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.6186, allocations: 0 / 0.7442 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.6186, allocations: 1.766 kB / 0.7442 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/0.619, allocations: 72.06 kB / 0.7443 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.6191, allocations: 0 / 0.7443 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.6193, allocations: 51.17 kB / 0.7443 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.6194, allocations: 10.66 kB / 0.7444 GB, free: 108.6 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 (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 7.678e-05/0.6194, allocations: 116.4 kB / 0.7445 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.6195, allocations: 3.469 kB / 0.7445 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.485e-05/0.6195, allocations: 11 kB / 0.7445 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.6195, allocations: 1.125 kB / 0.7445 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.6195, allocations: 3.141 kB / 0.7445 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.6195, allocations: 0 / 0.7445 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.6213, allocations: 0.699 MB / 0.7452 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.6213, allocations: 0 / 0.7452 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002955/0.6216, allocations: 68.95 kB / 0.7452 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.6216, allocations: 7.266 kB / 0.7452 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.6216, allocations: 10.02 kB / 0.7452 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.6216, allocations: 0.5469 kB / 0.7452 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6216, allocations: 0 / 0.7452 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008538/0.6225, allocations: 430.1 kB / 0.7457 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.63e-05/0.6225, allocations: 78.2 kB / 0.7457 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.6226, allocations: 5.156 kB / 0.7457 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.6228, allocations: 48.59 kB / 0.7458 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.6229, allocations: 20.56 kB / 0.7458 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.6229, allocations: 11.05 kB / 0.7458 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.14e-05/0.623, allocations: 89.39 kB / 0.7459 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.21e-07/0.623, allocations: 0 / 0.7459 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003094/0.6233, allocations: 39.72 kB / 0.7459 GB, free: 107.7 MB / 0.5105 GB 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 () * Number of clocked 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.001118/0.6244, allocations: 1.126 MB / 0.747 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008747/0.6253, allocations: 268.8 kB / 0.7473 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6253, allocations: 0 / 0.7473 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004186/0.6257, allocations: 140.4 kB / 0.7474 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.6259, allocations: 7.875 kB / 0.7474 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00348/0.6294, allocations: 1.222 MB / 0.7486 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.6296, allocations: 0.688 MB / 0.7493 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000147/0.6297, allocations: 24.11 kB / 0.7493 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.6298, allocations: 31.44 kB / 0.7494 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of SimCode: time 6.11e-07/0.6298, allocations: 1.406 kB / 0.7494 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01451/0.6444, allocations: 2.692 MB / 0.752 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/0.6446, allocations: 207.8 kB / 0.7522 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.524/2.168, allocations: 2.812 kB / 0.7522 GB, free: 105.3 MB / 0.5105 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)