Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.001377/0.001377, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.00153/0.00153, allocations: 218.7 kB / 23.03 MB, free: 4.922 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9155/0.9155, allocations: 145 MB / 458.2 MB, free: 15.26 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.002735/0.002735, allocations: 67.12 kB / 0.6339 GB, free: 6.668 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1936, allocations: 87.88 MB / 0.7197 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002624/0.1962, allocations: 1.462 MB / 0.7211 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.1975, allocations: 0.7486 MB / 0.7218 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.1975, allocations: 3.938 kB / 0.7218 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.1975, allocations: 3.938 kB / 0.7219 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.3e-05/0.1976, allocations: 3.938 kB / 0.7219 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004799/0.1981, allocations: 135.5 kB / 0.722 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.204e-05/0.1981, allocations: 35.92 kB / 0.722 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.151e-05/0.1982, allocations: 3.984 kB / 0.722 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.847e-05/0.1983, allocations: 15.98 kB / 0.722 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.561e-05/0.1984, allocations: 23.91 kB / 0.7221 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.1984, allocations: 0 / 0.7221 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004169/0.1988, allocations: 275.5 kB / 0.7223 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.1988, allocations: 4 kB / 0.7223 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.1988, allocations: 11.92 kB / 0.7223 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.1991, allocations: 187.5 kB / 0.7225 GB, free: 11.88 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1991, allocations: 0 / 0.7225 GB, free: 11.88 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1991, allocations: 0 / 0.7225 GB, free: 11.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.1991, allocations: 0 / 0.7225 GB, free: 11.88 MB / 0.545 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.0005067/0.1997, allocations: 303.8 kB / 0.7228 GB, free: 11.55 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1997, allocations: 12.03 kB / 0.7228 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.421e-05/0.1997, allocations: 192 / 0.7228 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.768e-05/0.1997, allocations: 38.69 kB / 0.7229 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000456/0.2002, allocations: 68.84 kB / 0.7229 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.2003, allocations: 106.5 kB / 0.723 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.2003, allocations: 384 / 0.723 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.2003, allocations: 8.312 kB / 0.723 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.2006, allocations: 81.56 kB / 0.7231 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.2006, allocations: 3.938 kB / 0.7231 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.2006, allocations: 4 kB / 0.7231 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.2007, allocations: 4 kB / 0.7231 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004082/0.2011, allocations: 87.91 kB / 0.7232 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.2016, allocations: 264.5 kB / 0.7235 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.202, allocations: 90.5 kB / 0.7235 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.2022, allocations: 56.86 kB / 0.7236 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.2022, allocations: 0 / 0.7236 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.2022, allocations: 38.5 kB / 0.7236 GB, free: 10.6 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.2022, allocations: 0 / 0.7236 GB, free: 10.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0007231/0.203, allocations: 161.5 kB / 0.7238 GB, free: 10.44 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.203, allocations: 55.53 kB / 0.7238 GB, free: 10.37 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.201e-05/0.2031, allocations: 101.9 kB / 0.7239 GB, free: 10.26 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.2031, allocations: 25.7 kB / 0.724 GB, free: 10.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.2032, allocations: 88.12 kB / 0.724 GB, free: 10.14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.2032, allocations: 7.953 kB / 0.7241 GB, free: 10.13 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.2032, allocations: 9.719 kB / 0.7241 GB, free: 10.12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.2034, allocations: 322.8 kB / 0.7244 GB, free: 9.793 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.2036, allocations: 47.94 kB / 0.7244 GB, free: 9.746 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.2038, allocations: 47.89 kB / 0.7245 GB, free: 9.699 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003753/0.2042, allocations: 88.83 kB / 0.7245 GB, free: 9.609 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2042, allocations: 0 / 0.7245 GB, free: 9.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004517/0.2046, allocations: 121.9 kB / 0.7247 GB, free: 9.484 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.2046, allocations: 8.031 kB / 0.7247 GB, free: 9.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2046, allocations: 3.984 kB / 0.7247 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2047, allocations: 4 kB / 0.7247 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.2048, allocations: 19.98 kB / 0.7247 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.2048, allocations: 0 / 0.7247 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.2049, allocations: 15.97 kB / 0.7247 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.2049, allocations: 8 kB / 0.7247 GB, free: 9.426 MB / 0.545 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 0.0001018/0.205, allocations: 113.7 kB / 0.7248 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.2051, allocations: 7.891 kB / 0.7248 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.2051, allocations: 15.3 kB / 0.7249 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2051, allocations: 0 / 0.7249 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2051, allocations: 0 / 0.7249 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.2051, allocations: 0 / 0.7249 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.2053, allocations: 140.6 kB / 0.725 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2053, allocations: 0 / 0.725 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.2054, allocations: 27.97 kB / 0.725 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2054, allocations: 0 / 0.725 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.2055, allocations: 0 / 0.725 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2055, allocations: 0 / 0.725 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2055, allocations: 0 / 0.725 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004941/0.2059, allocations: 219.4 kB / 0.7252 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-06/0.206, allocations: 4 kB / 0.7252 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.206, allocations: 4 kB / 0.7252 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.2061, allocations: 24 kB / 0.7253 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.2062, allocations: 3.984 kB / 0.7253 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.2062, allocations: 3.938 kB / 0.7253 GB, free: 8.801 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.58e-05/0.2062, allocations: 83.27 kB / 0.7253 GB, free: 8.719 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2062, allocations: 0 / 0.7253 GB, free: 8.719 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002442/0.2065, allocations: 19.94 kB / 0.7254 GB, free: 8.699 MB / 0.545 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.0008406/0.2073, allocations: 0.7552 MB / 0.7261 GB, free: 7.914 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000446/0.2077, allocations: 95.92 kB / 0.7262 GB, free: 7.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2077, allocations: 0 / 0.7262 GB, free: 7.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.2079, allocations: 55.95 kB / 0.7262 GB, free: 7.766 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.2082, allocations: 11.92 kB / 0.7263 GB, free: 7.754 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007149/0.2089, allocations: 199.1 kB / 0.7264 GB, free: 7.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.728e-05/0.209, allocations: 63.34 kB / 0.7265 GB, free: 7.438 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.468e-05/0.2091, allocations: 8 kB / 0.7265 GB, free: 7.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.2091, allocations: 15.44 kB / 0.7265 GB, free: 7.414 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.2091, allocations: 3.938 kB / 0.7265 GB, free: 7.41 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.2389, allocations: 1.903 MB / 0.7284 GB, free: 5.672 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.4, allocations: 3.281 kB / 0.7284 GB, free: 5.672 MB / 0.545 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.151529579074122] Failed to read output from testmodel.py, exit status != 0: 11.56326247099787 11.59117262 11.386864335 Calling exit ...