Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00174/0.00174, allocations: 110.1 kB / 16.46 MB, free: 6.453 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.002132/0.002132, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.539/1.539, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002972/0.002972, allocations: 287.5 kB / 309.1 MB, free: 3.969 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.234/1.234, allocations: 180.9 MB / 0.5333 GB, free: 13.71 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002913/0.002913, allocations: 110.2 kB / 0.7343 GB, free: 28.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2191, allocations: 95.35 MB / 0.8274 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001938/0.221, allocations: 0.645 MB / 0.828 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00227/0.2233, allocations: 1.499 MB / 0.8295 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.681e-05/0.2233, allocations: 0 / 0.8295 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.062e-05/0.2233, allocations: 7.938 kB / 0.8295 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.242e-05/0.2234, allocations: 0 / 0.8295 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.2239, allocations: 127.5 kB / 0.8296 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.158e-05/0.224, allocations: 27.91 kB / 0.8297 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.444e-05/0.2241, allocations: 4 kB / 0.8297 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.088e-05/0.2241, allocations: 19.92 kB / 0.8297 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.169e-05/0.2242, allocations: 15.92 kB / 0.8297 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.2242, allocations: 0 / 0.8297 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004946/0.2247, allocations: 323.3 kB / 0.83 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.2247, allocations: 11.88 kB / 0.83 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.2248, allocations: 11.92 kB / 0.83 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.2251, allocations: 183.8 kB / 0.8302 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.067e-05/0.2251, allocations: 4 kB / 0.8302 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2251, allocations: 0 / 0.8302 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.2251, allocations: 0 / 0.8302 GB, free: 6.902 MB / 0.5762 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.000654/0.2258, allocations: 386.9 kB / 0.8306 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.2258, allocations: 12.02 kB / 0.8306 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/0.2258, allocations: 30.75 kB / 0.8306 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004014/0.2262, allocations: 64.81 kB / 0.8307 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.2264, allocations: 176.3 kB / 0.8309 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.2265, allocations: 4.375 kB / 0.8309 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.2265, allocations: 8.328 kB / 0.8309 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.2268, allocations: 81.7 kB / 0.8309 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.2268, allocations: 7.922 kB / 0.8309 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.2268, allocations: 0 / 0.8309 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2268, allocations: 0 / 0.8309 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003819/0.2272, allocations: 75.91 kB / 0.831 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002123/0.2274, allocations: 169.7 kB / 0.8312 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005691/0.228, allocations: 126.5 kB / 0.8313 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.2282, allocations: 40.94 kB / 0.8313 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.2282, allocations: 3.938 kB / 0.8313 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.2282, allocations: 34.5 kB / 0.8314 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.2282, allocations: 4 kB / 0.8314 GB, free: 5.531 MB / 0.5762 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.004274/0.2325, allocations: 0.7741 MB / 0.8321 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.2325, allocations: 51.41 kB / 0.8322 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.2327, allocations: 117.8 kB / 0.8323 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.2327, allocations: 25.7 kB / 0.8323 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.971e-05/0.2327, allocations: 88.12 kB / 0.8324 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.2328, allocations: 27.75 kB / 0.8324 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.796e-05/0.2329, allocations: 33.7 kB / 0.8325 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.233, allocations: 314.8 kB / 0.8328 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004619/0.2335, allocations: 91.91 kB / 0.8329 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004544/0.2339, allocations: 103.9 kB / 0.833 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008597/0.2348, allocations: 193 kB / 0.8331 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2348, allocations: 3.938 kB / 0.8331 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009592/0.2358, allocations: 249.3 kB / 0.8334 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.2358, allocations: 4 kB / 0.8334 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2358, allocations: 0 / 0.8334 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.2358, allocations: 4 kB / 0.8334 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.2361, allocations: 55.88 kB / 0.8334 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2361, allocations: 0 / 0.8334 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.2364, allocations: 39.95 kB / 0.8335 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.2364, allocations: 7.984 kB / 0.8335 GB, free: 3.312 MB / 0.5762 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.0001113/0.2365, allocations: 117.8 kB / 0.8336 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.2365, allocations: 3.953 kB / 0.8336 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.727e-05/0.2366, allocations: 20.38 kB / 0.8336 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.2366, allocations: 0 / 0.8336 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.2366, allocations: 0 / 0.8336 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2366, allocations: 4.734 kB / 0.8336 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.2384, allocations: 0.6013 MB / 0.8342 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2384, allocations: 0 / 0.8342 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.2387, allocations: 51.94 kB / 0.8343 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.2387, allocations: 0 / 0.8343 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.2387, allocations: 12.06 kB / 0.8343 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2387, allocations: 0 / 0.8343 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2387, allocations: 3.938 kB / 0.8343 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000997/0.2397, allocations: 341 kB / 0.8346 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.2397, allocations: 81.06 kB / 0.8347 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.2398, allocations: 4 kB / 0.8347 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.24, allocations: 35.95 kB / 0.8347 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.2401, allocations: 15.92 kB / 0.8347 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.2401, allocations: 7.984 kB / 0.8347 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.905e-05/0.2402, allocations: 87.28 kB / 0.8348 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2402, allocations: 0 / 0.8348 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003085/0.2405, allocations: 43.86 kB / 0.8349 GB, free: 1.785 MB / 0.5762 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.001473/0.2419, allocations: 0.9091 MB / 0.8358 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009908/0.2429, allocations: 211.7 kB / 0.836 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2429, allocations: 0 / 0.836 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004591/0.2434, allocations: 104 kB / 0.8361 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.2436, allocations: 13.77 kB / 0.8361 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005243/0.2489, allocations: 2.135 MB / 0.8382 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.2493, allocations: 0.693 MB / 0.8388 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001064/0.2494, allocations: 16.95 kB / 0.8388 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.2495, allocations: 27.34 kB / 0.8389 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of SimCode: time 9.62e-07/0.2495, allocations: 4 kB / 0.8389 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/0.2766, allocations: 2.783 MB / 0.8416 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.029/8.306, allocations: 6.469 kB / 0.8416 GB, free: 10.89 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.731532749719918] Failed to read output from testmodel.py, exit status != 0: 8.374653514940292 8.400227847 8.170457701 Calling exit ...