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.001502/0.001502, allocations: 116.1 kB / 17.16 MB, free: 6.023 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.001497/0.001497, allocations: 205.5 kB / 20.13 MB, free: 3.078 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.464/1.464, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.002333/0.002333, allocations: 291.9 kB / 309.8 MB, free: 3.5 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.067/1.067, allocations: 180.6 MB / 0.5338 GB, free: 12.34 MB / 398.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.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.002987/0.002987, allocations: 107.8 kB / 0.7347 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6194/0.6224, allocations: 95.34 MB / 0.8278 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002343/0.6248, allocations: 1.464 MB / 0.8292 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.6259, allocations: 0.8395 MB / 0.83 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.272e-05/0.6259, allocations: 2.562 kB / 0.83 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.478e-05/0.626, allocations: 0.6562 kB / 0.83 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.837e-05/0.626, allocations: 4.688 kB / 0.83 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004673/0.6265, allocations: 134.9 kB / 0.8302 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.961e-05/0.6266, allocations: 38.02 kB / 0.8302 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.698e-05/0.6267, allocations: 3.656 kB / 0.8302 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.984e-05/0.6267, allocations: 13.98 kB / 0.8302 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.781e-05/0.6268, allocations: 21.05 kB / 0.8302 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.6268, allocations: 2.875 kB / 0.8303 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004573/0.6273, allocations: 322.3 kB / 0.8306 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.6273, allocations: 6.016 kB / 0.8306 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.6273, allocations: 11.98 kB / 0.8306 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.6276, allocations: 198.8 kB / 0.8308 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.6276, allocations: 0.6562 kB / 0.8308 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6276, allocations: 4 kB / 0.8308 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.6276, allocations: 0 / 0.8308 GB, free: 1.164 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004739/0.6281, allocations: 371.5 kB / 0.8311 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.6281, allocations: 9.375 kB / 0.8311 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.711e-05/0.6281, allocations: 3.797 kB / 0.8311 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.91e-05/0.6282, allocations: 30.75 kB / 0.8312 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004536/0.6286, allocations: 73.14 kB / 0.8312 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.872e-05/0.6287, allocations: 172.6 kB / 0.8314 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.6287, allocations: 8.312 kB / 0.8314 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.6287, allocations: 7.141 kB / 0.8314 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.629, allocations: 84.86 kB / 0.8315 GB, free: 488 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.629, allocations: 0 / 0.8315 GB, free: 488 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.629, allocations: 0 / 0.8315 GB, free: 488 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.6291, allocations: 2.266 kB / 0.8315 GB, free: 488 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004181/0.6295, allocations: 92.19 kB / 0.8316 GB, free: 472 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004944/0.63, allocations: 299 kB / 0.8319 GB, free: 176 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003751/0.6303, allocations: 105.8 kB / 0.832 GB, free: 128 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.6305, allocations: 50.27 kB / 0.832 GB, free: 112 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.6306, allocations: 0 / 0.832 GB, free: 112 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.6306, allocations: 33.7 kB / 0.8321 GB, free: 72 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.6306, allocations: 0 / 0.8321 GB, free: 72 kB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0007452/0.6313, allocations: 168.5 kB / 0.8322 GB, free: 16 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/0.6314, allocations: 56.05 kB / 0.8323 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.971e-05/0.6315, allocations: 102.1 kB / 0.8324 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.6315, allocations: 25.7 kB / 0.8324 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.6316, allocations: 87.53 kB / 0.8325 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.6316, allocations: 3.953 kB / 0.8325 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.6316, allocations: 14.56 kB / 0.8325 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.6318, allocations: 322.6 kB / 0.8328 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.632, allocations: 45.62 kB / 0.8328 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.6322, allocations: 45.69 kB / 0.8329 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/0.6326, allocations: 88.95 kB / 0.833 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6326, allocations: 2.812 kB / 0.833 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000459/0.6331, allocations: 122.9 kB / 0.8331 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.6331, allocations: 4.094 kB / 0.8331 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.6331, allocations: 0.5156 kB / 0.8331 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.6331, allocations: 0 / 0.8331 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.6333, allocations: 27.61 kB / 0.8331 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.6333, allocations: 3.984 kB / 0.8331 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.6334, allocations: 21.31 kB / 0.8331 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.6334, allocations: 0.75 kB / 0.8331 GB, free: 15.3 MB / 0.5919 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.083e-05/0.6335, allocations: 116.3 kB / 0.8333 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.6336, allocations: 8.797 kB / 0.8333 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.214e-05/0.6336, allocations: 14.8 kB / 0.8333 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.6336, allocations: 0 / 0.8333 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6336, allocations: 0 / 0.8333 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.6336, allocations: 0.75 kB / 0.8333 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.6338, allocations: 169.7 kB / 0.8334 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6338, allocations: 0 / 0.8334 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.6339, allocations: 21.62 kB / 0.8335 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.6339, allocations: 0 / 0.8335 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.634, allocations: 8.75 kB / 0.8335 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.634, allocations: 0 / 0.8335 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.634, allocations: 0 / 0.8335 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000516/0.6345, allocations: 220.1 kB / 0.8337 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.6345, allocations: 81.86 kB / 0.8338 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.6345, allocations: 7.219 kB / 0.8338 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.6347, allocations: 20.62 kB / 0.8338 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.6347, allocations: 1.969 kB / 0.8338 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.6347, allocations: 3.422 kB / 0.8338 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.376e-05/0.6348, allocations: 80.16 kB / 0.8339 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.6348, allocations: 0 / 0.8339 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002538/0.635, allocations: 19.28 kB / 0.8339 GB, free: 14.62 MB / 0.5919 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.0009393/0.636, allocations: 0.7655 MB / 0.8346 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004806/0.6365, allocations: 95.86 kB / 0.8347 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.6365, allocations: 6.688 kB / 0.8347 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.6367, allocations: 44.06 kB / 0.8348 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.637, allocations: 6.047 kB / 0.8348 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007827/0.6378, allocations: 190.8 kB / 0.835 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.6381, allocations: 0.6776 MB / 0.8356 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.445e-05/0.6382, allocations: 7.594 kB / 0.8356 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.6382, allocations: 15.2 kB / 0.8356 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.6382, allocations: 0 / 0.8356 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.6563, allocations: 1.751 MB / 0.8374 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.658, allocations: 12.27 kB / 0.8374 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 651] (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: 12.696117863000836] Failed to read output from testmodel.py, exit status != 0: 8.782004549982958 8.808375142 8.176207814 Calling exit ...