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.0008122/0.0008122, allocations: 72.45 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0008326/0.0008326, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 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 0.8799/0.8799, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001541/0.001541, allocations: 233.9 kB / 259.4 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6414/0.6414, allocations: 138.4 MB / 454.3 MB, free: 1.637 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.6464 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177e-05/1.333e-05, allocations: 8.047 kB / 0.6464 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0009318/0.0009451, allocations: 0.6261 MB / 0.647 GB, free: 28.62 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.002093, allocations: 1.44 MB / 0.6484 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.571e-05/0.002119, allocations: 0 / 0.6484 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.495e-05/0.002134, allocations: 3.938 kB / 0.6484 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.127e-05/0.002195, allocations: 5 kB / 0.6484 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.00251, allocations: 122.8 kB / 0.6485 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.332e-05/0.002563, allocations: 33.06 kB / 0.6485 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.002604, allocations: 2.094 kB / 0.6485 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.406e-05/0.002648, allocations: 14.52 kB / 0.6486 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.056e-05/0.002699, allocations: 18.78 kB / 0.6486 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.002713, allocations: 5.094 kB / 0.6486 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000237/0.002949, allocations: 249 kB / 0.6488 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.002964, allocations: 9.203 kB / 0.6488 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.656e-05/0.002981, allocations: 14.41 kB / 0.6488 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.003167, allocations: 199.3 kB / 0.649 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003169, allocations: 0 / 0.649 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of FrontEnd: time 6.61e-07/0.00317, allocations: 0 / 0.649 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.003173, allocations: 0 / 0.649 GB, free: 27.09 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.0003283/0.003502, allocations: 302.8 kB / 0.6493 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.003539, allocations: 11.06 kB / 0.6493 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.099e-05/0.00356, allocations: 30.75 kB / 0.6494 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.00375, allocations: 63.72 kB / 0.6494 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.038e-05/0.00382, allocations: 115.7 kB / 0.6495 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.003832, allocations: 384 / 0.6495 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.003848, allocations: 11.23 kB / 0.6495 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.003984, allocations: 69.64 kB / 0.6496 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.003993, allocations: 192 / 0.6496 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.004002, allocations: 8.125 kB / 0.6496 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.004006, allocations: 1.125 kB / 0.6496 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.00417, allocations: 77.45 kB / 0.6497 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001109/0.004281, allocations: 134.2 kB / 0.6498 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.004529, allocations: 126.3 kB / 0.6499 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.11e-05/0.00461, allocations: 37.86 kB / 0.65 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.004624, allocations: 5.094 kB / 0.65 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.282e-05/0.004637, allocations: 31.62 kB / 0.65 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 7.01e-07/0.004638, allocations: 0 / 0.65 GB, free: 26.19 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.001866/0.006503, allocations: 0.7962 MB / 0.6508 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.952e-05/0.006523, allocations: 54 kB / 0.6508 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.358e-05/0.006566, allocations: 118.1 kB / 0.651 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.006574, allocations: 25.7 kB / 0.651 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.496e-05/0.006589, allocations: 85.52 kB / 0.6511 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.006616, allocations: 35.75 kB / 0.6511 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.00665, allocations: 26.02 kB / 0.6511 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.585e-05/0.006676, allocations: 316.7 kB / 0.6514 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.006867, allocations: 100.7 kB / 0.6515 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.007052, allocations: 101.5 kB / 0.6516 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.007421, allocations: 187.2 kB / 0.6518 GB, free: 25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.007421, allocations: 0 / 0.6518 GB, free: 25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004117/0.007833, allocations: 254.8 kB / 0.652 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.007845, allocations: 5.531 kB / 0.652 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.007849, allocations: 0 / 0.652 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.007859, allocations: 0 / 0.652 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.008003, allocations: 56.06 kB / 0.6521 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.008007, allocations: 0 / 0.6521 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.175e-05/0.008099, allocations: 33.8 kB / 0.6521 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.008108, allocations: 10.31 kB / 0.6521 GB, free: 24.82 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/0.008155, allocations: 119.6 kB / 0.6523 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.008167, allocations: 10.89 kB / 0.6523 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.008193, allocations: 17.64 kB / 0.6523 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.008195, allocations: 1.125 kB / 0.6523 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.008198, allocations: 0 / 0.6523 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.008201, allocations: 1.156 kB / 0.6523 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007556/0.008956, allocations: 0.5592 MB / 0.6528 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.008958, allocations: 1.062 kB / 0.6528 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.009065, allocations: 54.56 kB / 0.6529 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.009068, allocations: 1.312 kB / 0.6529 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.009077, allocations: 6.219 kB / 0.6529 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.009079, allocations: 5.531 kB / 0.6529 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.00908, allocations: 1.438 kB / 0.6529 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004118/0.009492, allocations: 340.2 kB / 0.6532 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.435e-06/0.0095, allocations: 10.86 kB / 0.6532 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.009513, allocations: 2.781 kB / 0.6532 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.009617, allocations: 32.58 kB / 0.6533 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.009645, allocations: 12.83 kB / 0.6533 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.009652, allocations: 8.328 kB / 0.6533 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.95e-05/0.009672, allocations: 95.03 kB / 0.6534 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.009672, allocations: 0 / 0.6534 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001741/0.009846, allocations: 39.2 kB / 0.6534 GB, free: 23.86 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 (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.0005581/0.0104, allocations: 0.8995 MB / 0.6543 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004279/0.01083, allocations: 210 kB / 0.6545 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01083, allocations: 0 / 0.6545 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.01103, allocations: 107.1 kB / 0.6546 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.01119, allocations: 7.938 kB / 0.6546 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.01325, allocations: 2.136 MB / 0.6567 GB, free: 21.29 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.316e-05/0.01328, allocations: 67.22 kB / 0.6567 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.866e-05/0.01334, allocations: 24.84 kB / 0.6568 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.727e-05/0.0134, allocations: 28.52 kB / 0.6568 GB, free: 21.19 MB / 0.5105 GB Notification: Performance of SimCode: time 4.61e-07/0.0134, allocations: 0 / 0.6568 GB, free: 21.19 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.02722, allocations: 3.523 MB / 0.6602 GB, free: 19.12 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.502/6.529, allocations: 1.062 kB / 0.6602 GB, free: 19.12 MB / 0.5105 GB " [Timeout remaining time 653] (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: 9.296263455413282] Failed to read output from testmodel.py, exit status != 0: 6.605201618745923 6.611901298 6.607198597 Calling exit ...