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.001201/0.001201, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.001366/0.001366, allocations: 217 kB / 23.04 MB, free: 5.074 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] 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.002533/0.002533, allocations: 285.6 kB / 313.5 MB, free: 2.801 MB / 238.1 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 1.263/1.263, allocations: 180.6 MB / 0.5377 GB, free: 13.04 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 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="cs",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.003908/0.003908, allocations: 99.58 kB / 0.7404 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2063, allocations: 95.39 MB / 0.8335 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001903/0.2082, allocations: 0.6466 MB / 0.8342 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002112/0.2103, allocations: 1.511 MB / 0.8357 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.859e-05/0.2104, allocations: 3.938 kB / 0.8357 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.236e-05/0.2104, allocations: 11.88 kB / 0.8357 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.842e-05/0.2105, allocations: 11.92 kB / 0.8357 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004308/0.2109, allocations: 123.5 kB / 0.8358 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.419e-05/0.211, allocations: 19.98 kB / 0.8358 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.301e-05/0.211, allocations: 8 kB / 0.8358 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.891e-05/0.211, allocations: 15.92 kB / 0.8358 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.822e-05/0.2111, allocations: 23.86 kB / 0.8359 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.2111, allocations: 0 / 0.8359 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004852/0.2116, allocations: 323.4 kB / 0.8362 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.2116, allocations: 7.922 kB / 0.8362 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.508e-05/0.2116, allocations: 11.94 kB / 0.8362 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.212, allocations: 183.8 kB / 0.8364 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.212, allocations: 4 kB / 0.8364 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.12e-07/0.212, allocations: 0 / 0.8364 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.212, allocations: 0 / 0.8364 GB, free: 5.68 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.0005012/0.2125, allocations: 305.8 kB / 0.8367 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.2125, allocations: 13.28 kB / 0.8367 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.186e-05/0.2125, allocations: 192 / 0.8367 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.169e-05/0.2125, allocations: 38.69 kB / 0.8367 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003495/0.2129, allocations: 64.81 kB / 0.8368 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.213, allocations: 118.5 kB / 0.8369 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.213, allocations: 4.359 kB / 0.8369 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.2131, allocations: 384 / 0.8369 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.2133, allocations: 81.58 kB / 0.837 GB, free: 5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.2134, allocations: 3.953 kB / 0.837 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.2134, allocations: 0 / 0.837 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.2134, allocations: 8 kB / 0.837 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003419/0.2137, allocations: 67.92 kB / 0.837 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/0.2139, allocations: 136.8 kB / 0.8372 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.2144, allocations: 126.4 kB / 0.8373 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.2146, allocations: 44.94 kB / 0.8373 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.2146, allocations: 3.938 kB / 0.8373 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.2146, allocations: 38.56 kB / 0.8374 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.2146, allocations: 0 / 0.8374 GB, free: 4.516 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.003984/0.2186, allocations: 0.7826 MB / 0.8381 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.2187, allocations: 55.39 kB / 0.8382 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.2188, allocations: 113.8 kB / 0.8383 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.2188, allocations: 29.7 kB / 0.8383 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.2189, allocations: 88.14 kB / 0.8384 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/0.2189, allocations: 23.75 kB / 0.8384 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.857e-05/0.219, allocations: 25.7 kB / 0.8385 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.2191, allocations: 322.8 kB / 0.8388 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004315/0.2195, allocations: 95.89 kB / 0.8389 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000419/0.22, allocations: 95.84 kB / 0.839 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008611/0.2208, allocations: 200.6 kB / 0.8391 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.2208, allocations: 0 / 0.8391 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009565/0.2218, allocations: 241.4 kB / 0.8394 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.2218, allocations: 12 kB / 0.8394 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2218, allocations: 0 / 0.8394 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2218, allocations: 0 / 0.8394 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.2221, allocations: 55.94 kB / 0.8394 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.2221, allocations: 3.938 kB / 0.8394 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.2224, allocations: 35.95 kB / 0.8395 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.2224, allocations: 4 kB / 0.8395 GB, free: 2.297 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 9.827e-05/0.2225, allocations: 114.4 kB / 0.8396 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.2225, allocations: 12.33 kB / 0.8396 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.003e-05/0.2226, allocations: 24.28 kB / 0.8396 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.2226, allocations: 0 / 0.8396 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.2226, allocations: 0.75 kB / 0.8396 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2226, allocations: 3.938 kB / 0.8396 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.2243, allocations: 0.5692 MB / 0.8402 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.2243, allocations: 4 kB / 0.8402 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.2245, allocations: 52 kB / 0.8402 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.2246, allocations: 4 kB / 0.8402 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.2246, allocations: 4 kB / 0.8402 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.434e-05/0.2246, allocations: 7.938 kB / 0.8403 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2246, allocations: 3.938 kB / 0.8403 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009838/0.2256, allocations: 341 kB / 0.8406 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.2256, allocations: 3.953 kB / 0.8406 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.2256, allocations: 4 kB / 0.8406 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.2259, allocations: 39.95 kB / 0.8406 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.2259, allocations: 15.91 kB / 0.8406 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.2259, allocations: 4 kB / 0.8406 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.339e-05/0.226, allocations: 91.27 kB / 0.8407 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.226, allocations: 0 / 0.8407 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002963/0.2263, allocations: 39.88 kB / 0.8408 GB, free: 0.8828 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.001386/0.2277, allocations: 0.8934 MB / 0.8416 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009259/0.2286, allocations: 215.7 kB / 0.8419 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2286, allocations: 0 / 0.8419 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004585/0.2291, allocations: 107.9 kB / 0.842 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.2293, allocations: 15.88 kB / 0.842 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/0.2341, allocations: 2.143 MB / 0.8441 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.2345, allocations: 0.6846 MB / 0.8447 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.55e-05/0.2346, allocations: 20.66 kB / 0.8448 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.307e-05/0.2347, allocations: 23.42 kB / 0.8448 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of SimCode: time 6.11e-07/0.2347, allocations: 4 kB / 0.8448 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02578/0.2604, allocations: 2.921 MB / 0.8476 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.25, allocations: 13.05 kB / 0.8476 GB, free: 9.859 MB / 0.5919 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.541440528992098] Failed to read output from testmodel.py, exit status != 0: 11.42504049895797 11.447823445 11.232535803 Calling exit ...