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.001295/0.001295, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001576/0.001576, allocations: 222.7 kB / 22.26 MB, free: 5.215 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.465/1.465, allocations: 230.6 MB / 256 MB, free: 7.996 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.9468/0.9468, allocations: 145 MB / 457.4 MB, free: 15.49 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="me",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.002189/0.002189, allocations: 66.03 kB / 0.6332 GB, free: 7.266 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1938, allocations: 87.87 MB / 0.719 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.003692/0.1975, allocations: 1.47 MB / 0.7204 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001655/0.1992, allocations: 0.842 MB / 0.7212 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.1992, allocations: 4 kB / 0.7212 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.566e-05/0.1993, allocations: 0 / 0.7212 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.109e-05/0.1993, allocations: 11.92 kB / 0.7213 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005905/0.1999, allocations: 127.5 kB / 0.7214 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.459e-05/0.2, allocations: 35.91 kB / 0.7214 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.2001, allocations: 8 kB / 0.7214 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.981e-05/0.2002, allocations: 19.92 kB / 0.7214 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.498e-05/0.2002, allocations: 15.98 kB / 0.7215 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.2002, allocations: 4 kB / 0.7215 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005607/0.2008, allocations: 315.4 kB / 0.7218 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.724e-05/0.2008, allocations: 15.92 kB / 0.7218 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.2009, allocations: 7.984 kB / 0.7218 GB, free: 12.51 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003977/0.2013, allocations: 199.5 kB / 0.722 GB, free: 12.32 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2013, allocations: 4 kB / 0.722 GB, free: 12.31 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2013, allocations: 0 / 0.722 GB, free: 12.31 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.2013, allocations: 0 / 0.722 GB, free: 12.31 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.0006378/0.2019, allocations: 303.8 kB / 0.7223 GB, free: 11.99 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.202, allocations: 8.031 kB / 0.7223 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.202, allocations: 30.75 kB / 0.7223 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005003/0.2025, allocations: 68.84 kB / 0.7224 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.2026, allocations: 118.4 kB / 0.7225 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.2026, allocations: 384 / 0.7225 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.2027, allocations: 384 / 0.7225 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.203, allocations: 93.69 kB / 0.7226 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.203, allocations: 0 / 0.7226 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.203, allocations: 4 kB / 0.7226 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.203, allocations: 0 / 0.7226 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/0.2034, allocations: 95.89 kB / 0.7227 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005923/0.204, allocations: 267.9 kB / 0.7229 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003932/0.2044, allocations: 99.08 kB / 0.723 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.2046, allocations: 52.88 kB / 0.7231 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.2046, allocations: 0 / 0.7231 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.2047, allocations: 34.56 kB / 0.7231 GB, free: 11.03 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.2047, allocations: 0 / 0.7231 GB, free: 11.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0007615/0.2054, allocations: 169.5 kB / 0.7233 GB, free: 10.86 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.2055, allocations: 51.41 kB / 0.7233 GB, free: 10.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.777e-05/0.2056, allocations: 106 kB / 0.7234 GB, free: 10.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.2056, allocations: 25.7 kB / 0.7234 GB, free: 10.65 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.344e-05/0.2056, allocations: 84.12 kB / 0.7235 GB, free: 10.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.2057, allocations: 3.953 kB / 0.7235 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.2057, allocations: 17.72 kB / 0.7235 GB, free: 10.54 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.2059, allocations: 314.8 kB / 0.7238 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.2061, allocations: 51.94 kB / 0.7239 GB, free: 10.17 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.2063, allocations: 43.95 kB / 0.7239 GB, free: 10.13 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.2067, allocations: 92.77 kB / 0.724 GB, free: 10.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2067, allocations: 4 kB / 0.724 GB, free: 10.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004387/0.2071, allocations: 121.5 kB / 0.7241 GB, free: 9.906 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2071, allocations: 7.984 kB / 0.7241 GB, free: 9.898 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.2071, allocations: 4 kB / 0.7242 GB, free: 9.895 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2071, allocations: 0 / 0.7242 GB, free: 9.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.2073, allocations: 15.98 kB / 0.7242 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.2073, allocations: 3.984 kB / 0.7242 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.2074, allocations: 20.02 kB / 0.7242 GB, free: 9.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.2074, allocations: 0 / 0.7242 GB, free: 9.855 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 9.859e-05/0.2075, allocations: 113.8 kB / 0.7243 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.2076, allocations: 11.94 kB / 0.7243 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.483e-05/0.2076, allocations: 3.312 kB / 0.7243 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2076, allocations: 0 / 0.7243 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2076, allocations: 0 / 0.7243 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2076, allocations: 0 / 0.7243 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.2078, allocations: 152.6 kB / 0.7245 GB, free: 9.523 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2078, allocations: 4 kB / 0.7245 GB, free: 9.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.2079, allocations: 15.98 kB / 0.7245 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.2079, allocations: 256 / 0.7245 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.208, allocations: 3.984 kB / 0.7245 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.208, allocations: 7.938 kB / 0.7245 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.208, allocations: 4 kB / 0.7245 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005038/0.2085, allocations: 231.3 kB / 0.7247 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-06/0.2085, allocations: 0 / 0.7247 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.2085, allocations: 0 / 0.7247 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.2086, allocations: 15.98 kB / 0.7247 GB, free: 9.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.2087, allocations: 7.984 kB / 0.7247 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.2087, allocations: 0 / 0.7247 GB, free: 9.223 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.806e-05/0.2087, allocations: 79.28 kB / 0.7248 GB, free: 9.145 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2087, allocations: 32 / 0.7248 GB, free: 9.145 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002438/0.209, allocations: 23.92 kB / 0.7248 GB, free: 9.121 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.0009033/0.2099, allocations: 0.763 MB / 0.7256 GB, free: 8.328 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000452/0.2103, allocations: 95.92 kB / 0.7257 GB, free: 8.234 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2103, allocations: 3.938 kB / 0.7257 GB, free: 8.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.2105, allocations: 52.02 kB / 0.7257 GB, free: 8.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.2109, allocations: 0 / 0.7257 GB, free: 8.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007526/0.2116, allocations: 203 kB / 0.7259 GB, free: 7.941 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.2119, allocations: 0.6729 MB / 0.7266 GB, free: 7.242 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.722e-05/0.212, allocations: 12 kB / 0.7266 GB, free: 7.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/0.212, allocations: 15.42 kB / 0.7266 GB, free: 7.219 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.212, allocations: 3.938 kB / 0.7266 GB, free: 7.215 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.2417, allocations: 1.8 MB / 0.7284 GB, free: 5.559 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.26, allocations: 9.953 kB / 0.7284 GB, free: 5.551 MB / 0.545 GB " [Timeout remaining time 649] (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: 14.988343412056565] Failed to read output from testmodel.py, exit status != 0: 11.369184641866013 11.397637678 11.191491502 Calling exit ...