Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002151/0.002151, allocations: 212.9 kB / 23.04 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.562/1.562, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.227/3.227, allocations: 0.49 GB / 0.7959 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002806/0.002806, allocations: 62.23 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3487, allocations: 176.1 MB / 1.327 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001956/0.3507, allocations: 0.6396 MB / 1.327 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002238/0.3529, allocations: 1.529 MB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.353, allocations: 0 / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.313e-05/0.353, allocations: 3.938 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.344e-05/0.3531, allocations: 3.984 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004785/0.3535, allocations: 128.7 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.504e-05/0.3536, allocations: 27.86 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.804e-05/0.3537, allocations: 0 / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.09e-05/0.3537, allocations: 15.92 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.769e-05/0.3538, allocations: 23.91 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.3538, allocations: 0 / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005205/0.3543, allocations: 315.4 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.3543, allocations: 19.92 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.3543, allocations: 15.8 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.3547, allocations: 187.8 kB / 1.33 GB, free: 14.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3547, allocations: 0 / 1.33 GB, free: 14.99 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3547, allocations: 0 / 1.33 GB, free: 14.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.3547, allocations: 0 / 1.33 GB, free: 14.99 MB / 1.029 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.0005179/0.3552, allocations: 313.8 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3552, allocations: 8.031 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.135e-05/0.3552, allocations: 4.188 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.942e-05/0.3553, allocations: 30.75 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003764/0.3556, allocations: 60.86 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.3558, allocations: 118.4 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.3558, allocations: 4.375 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.3558, allocations: 384 / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.3561, allocations: 77.52 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3561, allocations: 4 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.3561, allocations: 0 / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3561, allocations: 0 / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003891/0.3565, allocations: 79.91 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.3567, allocations: 136.8 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005859/0.3573, allocations: 118.5 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.3575, allocations: 52.81 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.3575, allocations: 3.938 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.3576, allocations: 34.56 kB / 1.331 GB, free: 13.83 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3576, allocations: 0 / 1.331 GB, free: 13.83 MB / 1.029 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.004339/0.3619, allocations: 0.7819 MB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.3619, allocations: 59.34 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.362, allocations: 117.8 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.3621, allocations: 25.7 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.3621, allocations: 88.12 kB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.133e-05/0.3622, allocations: 31.73 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-05/0.3622, allocations: 25.7 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3624, allocations: 322.8 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000452/0.3628, allocations: 95.91 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004456/0.3633, allocations: 99.92 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008628/0.3641, allocations: 196.6 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3641, allocations: 7.938 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009861/0.3651, allocations: 233.5 kB / 1.333 GB, free: 11.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.3652, allocations: 7.984 kB / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3652, allocations: 0 / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.3652, allocations: 4 kB / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.3655, allocations: 55.88 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.3655, allocations: 0 / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.3658, allocations: 39.95 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.3658, allocations: 8 kB / 1.333 GB, free: 11.6 MB / 1.029 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.3659, allocations: 110.3 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.3659, allocations: 4 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.479e-05/0.3659, allocations: 12.38 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.3659, allocations: 3.984 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.366, allocations: 7.984 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.366, allocations: 0 / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.3678, allocations: 0.5691 MB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3678, allocations: 0 / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.3681, allocations: 56 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3681, allocations: 3.938 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.3681, allocations: 8 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3681, allocations: 0.75 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.3681, allocations: 7.938 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.3691, allocations: 341.2 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.3691, allocations: 7.953 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.3692, allocations: 4 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.3694, allocations: 43.95 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.3695, allocations: 11.92 kB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.3695, allocations: 7.984 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.851e-05/0.3696, allocations: 91.28 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3696, allocations: 0 / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003067/0.3699, allocations: 47.8 kB / 1.334 GB, free: 10.18 MB / 1.029 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001486/0.3714, allocations: 0.8896 MB / 1.335 GB, free: 9.262 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009944/0.3724, allocations: 203.7 kB / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.3724, allocations: 4 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004988/0.3729, allocations: 108 kB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.3731, allocations: 13.66 kB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005226/0.3783, allocations: 2.131 MB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.3787, allocations: 0.6807 MB / 1.338 GB, free: 6.012 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001108/0.3788, allocations: 28.98 kB / 1.338 GB, free: 5.984 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.754e-05/0.3789, allocations: 27.41 kB / 1.338 GB, free: 5.957 MB / 1.029 GB Notification: Performance of SimCode: time 1.102e-06/0.3789, allocations: 0 / 1.338 GB, free: 5.957 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.4023, allocations: 2.915 MB / 1.341 GB, free: 3.188 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.89, allocations: 14.89 kB / 1.341 GB, free: 3.176 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.7388755879947] Failed to read output from testmodel.py, exit status != 0: 12.051477545988746 12.06780292 11.709898065 Calling exit ...