Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.0013/0.0013, allocations: 101.5 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.001563/0.001563, allocations: 211.7 kB / 23.04 MB, free: 5.07 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.002614/0.002614, allocations: 285.6 kB / 313.5 MB, free: 2.859 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.299/1.299, allocations: 180.6 MB / 0.5377 GB, free: 13.02 MB / 382.1 MB " [Timeout remaining time 178] 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.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.002892/0.002892, allocations: 95.11 kB / 0.7403 GB, free: 28.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.229, allocations: 95.39 MB / 0.8335 GB, free: 8.656 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002975/0.2319, allocations: 1.471 MB / 0.8349 GB, free: 7.172 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001502/0.2334, allocations: 0.8436 MB / 0.8358 GB, free: 6.32 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.63e-05/0.2335, allocations: 4 kB / 0.8358 GB, free: 6.316 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.2335, allocations: 3.938 kB / 0.8358 GB, free: 6.312 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 4.669e-05/0.2336, allocations: 3.938 kB / 0.8358 GB, free: 6.309 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004923/0.2341, allocations: 128.6 kB / 0.8359 GB, free: 6.184 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 8.561e-05/0.2341, allocations: 35.92 kB / 0.8359 GB, free: 6.148 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 8.641e-05/0.2342, allocations: 7.984 kB / 0.8359 GB, free: 6.141 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 4.863e-05/0.2343, allocations: 8 kB / 0.836 GB, free: 6.133 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 6.914e-05/0.2343, allocations: 23.91 kB / 0.836 GB, free: 6.109 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.2344, allocations: 7.984 kB / 0.836 GB, free: 6.102 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005106/0.2349, allocations: 315.4 kB / 0.8363 GB, free: 5.793 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.2349, allocations: 7.984 kB / 0.8363 GB, free: 5.785 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.653e-05/0.2349, allocations: 11.94 kB / 0.8363 GB, free: 5.773 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.2352, allocations: 195.7 kB / 0.8365 GB, free: 5.582 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.2352, allocations: 7.984 kB / 0.8365 GB, free: 5.574 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2353, allocations: 0 / 0.8365 GB, free: 5.574 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.2353, allocations: 4 kB / 0.8365 GB, free: 5.57 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005633/0.2358, allocations: 297.9 kB / 0.8368 GB, free: 5.25 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.2359, allocations: 9.344 kB / 0.8368 GB, free: 5.242 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.96e-05/0.2359, allocations: 192 / 0.8368 GB, free: 5.242 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.662e-05/0.2359, allocations: 42.69 kB / 0.8368 GB, free: 5.191 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004558/0.2364, allocations: 68.78 kB / 0.8369 GB, free: 5.125 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.2365, allocations: 114.5 kB / 0.837 GB, free: 4.988 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.2365, allocations: 384 / 0.837 GB, free: 4.988 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.2365, allocations: 384 / 0.837 GB, free: 4.988 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.2368, allocations: 85.56 kB / 0.8371 GB, free: 4.898 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2368, allocations: 4 kB / 0.8371 GB, free: 4.895 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.2369, allocations: 4 kB / 0.8371 GB, free: 4.891 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2369, allocations: 0 / 0.8371 GB, free: 4.891 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004176/0.2373, allocations: 91.89 kB / 0.8372 GB, free: 4.801 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005582/0.2378, allocations: 275.8 kB / 0.8374 GB, free: 4.488 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003818/0.2382, allocations: 90.5 kB / 0.8375 GB, free: 4.391 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.2385, allocations: 60.86 kB / 0.8376 GB, free: 4.328 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.2385, allocations: 0 / 0.8376 GB, free: 4.328 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.2385, allocations: 30.56 kB / 0.8376 GB, free: 4.289 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.2385, allocations: 0 / 0.8376 GB, free: 4.289 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2): time 0.0007796/0.2393, allocations: 169.6 kB / 0.8378 GB, free: 4.117 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.2393, allocations: 51.41 kB / 0.8378 GB, free: 4.055 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.145e-05/0.2394, allocations: 105.8 kB / 0.8379 GB, free: 3.941 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.2394, allocations: 25.7 kB / 0.838 GB, free: 3.91 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.2395, allocations: 84.14 kB / 0.838 GB, free: 3.824 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.2395, allocations: 3.953 kB / 0.838 GB, free: 3.82 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.2396, allocations: 21.73 kB / 0.8381 GB, free: 3.793 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.2397, allocations: 318.8 kB / 0.8384 GB, free: 3.473 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.2399, allocations: 43.95 kB / 0.8384 GB, free: 3.43 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.2401, allocations: 43.95 kB / 0.8385 GB, free: 3.387 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003845/0.2405, allocations: 88.83 kB / 0.8385 GB, free: 3.297 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2405, allocations: 0 / 0.8385 GB, free: 3.297 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004518/0.241, allocations: 129.5 kB / 0.8387 GB, free: 3.164 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.241, allocations: 4 kB / 0.8387 GB, free: 3.16 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.241, allocations: 4.25 kB / 0.8387 GB, free: 3.156 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.241, allocations: 0 / 0.8387 GB, free: 3.156 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.2412, allocations: 28 kB / 0.8387 GB, free: 3.129 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.2412, allocations: 0 / 0.8387 GB, free: 3.129 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.2413, allocations: 23.91 kB / 0.8387 GB, free: 3.105 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.2413, allocations: 3.938 kB / 0.8387 GB, free: 3.102 MB / 0.5763 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 (2): * Single equations (assignments): 2 * 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.349e-05/0.2414, allocations: 114.4 kB / 0.8388 GB, free: 2.98 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.2414, allocations: 7.953 kB / 0.8388 GB, free: 2.973 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.838e-05/0.2415, allocations: 7.312 kB / 0.8388 GB, free: 2.961 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2415, allocations: 0 / 0.8388 GB, free: 2.961 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2415, allocations: 0 / 0.8388 GB, free: 2.961 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.2415, allocations: 4 kB / 0.8388 GB, free: 2.957 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.2417, allocations: 144.7 kB / 0.839 GB, free: 2.773 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2417, allocations: 3.938 kB / 0.839 GB, free: 2.77 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.2418, allocations: 19.97 kB / 0.839 GB, free: 2.75 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2418, allocations: 4 kB / 0.839 GB, free: 2.746 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.2418, allocations: 0 / 0.839 GB, free: 2.746 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2418, allocations: 4 kB / 0.839 GB, free: 2.742 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2418, allocations: 3.938 kB / 0.839 GB, free: 2.738 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000505/0.2423, allocations: 219.4 kB / 0.8392 GB, free: 2.508 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-06/0.2423, allocations: 0 / 0.8392 GB, free: 2.508 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.2423, allocations: 0 / 0.8392 GB, free: 2.508 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.2425, allocations: 24 kB / 0.8393 GB, free: 2.484 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.2425, allocations: 0 / 0.8393 GB, free: 2.484 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.2426, allocations: 3.984 kB / 0.8393 GB, free: 2.48 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 4.868e-05/0.2426, allocations: 83.28 kB / 0.8393 GB, free: 2.398 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/0.2426, allocations: 4 kB / 0.8393 GB, free: 2.395 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002362/0.2428, allocations: 8 kB / 0.8393 GB, free: 2.387 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0008888/0.2437, allocations: 0.7669 MB / 0.8401 GB, free: 1.59 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0004702/0.2442, allocations: 95.94 kB / 0.8402 GB, free: 1.496 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2442, allocations: 0 / 0.8402 GB, free: 1.496 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.2444, allocations: 43.95 kB / 0.8402 GB, free: 1.453 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.2447, allocations: 12.11 kB / 0.8402 GB, free: 1.441 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007691/0.2455, allocations: 199.1 kB / 0.8404 GB, free: 1.207 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.2459, allocations: 0.6768 MB / 0.8411 GB, free: 0.5039 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 6.498e-05/0.2459, allocations: 8 kB / 0.8411 GB, free: 0.4961 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.246, allocations: 11.44 kB / 0.8411 GB, free: 496 kB / 0.5763 GB Notification: Performance of SimCode: time 3.1e-07/0.246, allocations: 3.938 kB / 0.8411 GB, free: 492 kB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.268, allocations: 1.837 MB / 0.8429 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.09, allocations: 17.77 kB / 0.8429 GB, free: 14.79 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.51756511896383] Failed to read output from testmodel.py, exit status != 0: 11.24921366100898 11.273687844 11.033860449 Calling exit ...