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.001502/0.001502, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001459/0.001459, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.532/1.532, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9503/0.9503, allocations: 145 MB / 454.5 MB, free: 9.992 MB / 350.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.002962/0.002962, allocations: 62.56 kB / 0.6287 GB, free: 33.58 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1711, allocations: 87.84 MB / 0.7145 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.003006/0.1741, allocations: 1.447 MB / 0.7159 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.1757, allocations: 0.842 MB / 0.7167 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.1757, allocations: 0 / 0.7167 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.532e-05/0.1758, allocations: 0 / 0.7167 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.228e-05/0.1758, allocations: 3.938 kB / 0.7167 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/0.1763, allocations: 142.3 kB / 0.7169 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.512e-05/0.1764, allocations: 31.86 kB / 0.7169 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.715e-05/0.1765, allocations: 11.98 kB / 0.7169 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.748e-05/0.1766, allocations: 12 kB / 0.7169 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.971e-05/0.1766, allocations: 23.89 kB / 0.7169 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.1766, allocations: 4 kB / 0.7169 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005028/0.1771, allocations: 319.4 kB / 0.7172 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.1771, allocations: 0 / 0.7172 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.1772, allocations: 19.92 kB / 0.7173 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.1775, allocations: 199.7 kB / 0.7175 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1775, allocations: 0 / 0.7175 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1775, allocations: 0 / 0.7175 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.1775, allocations: 0 / 0.7175 GB, free: 8.633 MB / 0.5294 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.0006529/0.1782, allocations: 379 kB / 0.7178 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.1782, allocations: 12.03 kB / 0.7178 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.703e-05/0.1783, allocations: 192 / 0.7178 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.199e-05/0.1783, allocations: 34.75 kB / 0.7179 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004807/0.1788, allocations: 68.8 kB / 0.7179 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.1789, allocations: 168.4 kB / 0.7181 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.1789, allocations: 384 / 0.7181 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.179, allocations: 4.375 kB / 0.7181 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/0.1793, allocations: 89.5 kB / 0.7182 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.1793, allocations: 4 kB / 0.7182 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1793, allocations: 0 / 0.7182 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1793, allocations: 0 / 0.7182 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004292/0.1797, allocations: 91.91 kB / 0.7183 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005738/0.1803, allocations: 304.7 kB / 0.7186 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.1807, allocations: 90.5 kB / 0.7186 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.1809, allocations: 56.88 kB / 0.7187 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.1809, allocations: 0 / 0.7187 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.181, allocations: 34.55 kB / 0.7187 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.181, allocations: 0 / 0.7187 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0007682/0.1817, allocations: 169.6 kB / 0.7189 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.1818, allocations: 51.41 kB / 0.7189 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.1819, allocations: 105.8 kB / 0.719 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.1819, allocations: 25.7 kB / 0.7191 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/0.1819, allocations: 80.14 kB / 0.7191 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.182, allocations: 7.984 kB / 0.7192 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/0.182, allocations: 21.7 kB / 0.7192 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1822, allocations: 314.8 kB / 0.7195 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.1824, allocations: 43.95 kB / 0.7195 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.1826, allocations: 47.95 kB / 0.7196 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004176/0.1831, allocations: 92.77 kB / 0.7197 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1831, allocations: 0 / 0.7197 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000477/0.1835, allocations: 125.5 kB / 0.7198 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.1835, allocations: 8 kB / 0.7198 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1836, allocations: 0 / 0.7198 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.1836, allocations: 4.281 kB / 0.7198 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.1837, allocations: 19.97 kB / 0.7198 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.1838, allocations: 4 kB / 0.7198 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.1839, allocations: 23.91 kB / 0.7198 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.1839, allocations: 0 / 0.7198 GB, free: 5.969 MB / 0.5294 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.768e-05/0.184, allocations: 121.8 kB / 0.7199 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.37e-05/0.184, allocations: 3.953 kB / 0.7199 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.1841, allocations: 7.062 kB / 0.72 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1841, allocations: 0 / 0.72 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1841, allocations: 0 / 0.72 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1841, allocations: 4 kB / 0.72 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.1843, allocations: 173.6 kB / 0.7201 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1843, allocations: 0 / 0.7201 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.1844, allocations: 23.97 kB / 0.7201 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1844, allocations: 0 / 0.7201 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.1844, allocations: 0 / 0.7201 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1844, allocations: 4 kB / 0.7202 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1844, allocations: 0 / 0.7202 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005362/0.185, allocations: 223.3 kB / 0.7204 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.185, allocations: 77.11 kB / 0.7204 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.185, allocations: 3.984 kB / 0.7204 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.1852, allocations: 20.02 kB / 0.7205 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.1852, allocations: 4 kB / 0.7205 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.1852, allocations: 3.984 kB / 0.7205 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.901e-05/0.1853, allocations: 79.28 kB / 0.7205 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1853, allocations: 0 / 0.7205 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002458/0.1855, allocations: 12 kB / 0.7206 GB, free: 5.129 MB / 0.5294 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.001029/0.1866, allocations: 0.7708 MB / 0.7213 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004986/0.1871, allocations: 91.94 kB / 0.7214 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1871, allocations: 0 / 0.7214 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.1873, allocations: 56 kB / 0.7215 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.1876, allocations: 7.984 kB / 0.7215 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008321/0.1885, allocations: 202.9 kB / 0.7217 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.1888, allocations: 0.6806 MB / 0.7223 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.669e-05/0.1889, allocations: 8 kB / 0.7223 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.412e-05/0.1889, allocations: 11.44 kB / 0.7223 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.1889, allocations: 0 / 0.7223 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.2085, allocations: 1.754 MB / 0.724 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.193/8.401, allocations: 12.86 kB / 0.7241 GB, free: 1.59 MB / 0.5294 GB " [Timeout remaining time 651] (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: 12.300404992012773] Failed to read output from testmodel.py, exit status != 0: 8.527226183970924 8.551292392 8.369138215 Calling exit ...