Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 107.9 kB / 16.4 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001113, allocations: 193.2 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7766/0.7766, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 73.98 kB / 0.5572 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1761, allocations: 76.17 MB / 0.6316 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002842/0.179, allocations: 1.435 MB / 0.633 GB, free: 3.461 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.1805, allocations: 0.7952 MB / 0.6338 GB, free: 2.656 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.1805, allocations: 0 / 0.6338 GB, free: 2.656 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.147e-05/0.1806, allocations: 3.938 kB / 0.6338 GB, free: 2.652 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.239e-05/0.1807, allocations: 3.938 kB / 0.6338 GB, free: 2.648 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005842/0.1813, allocations: 123.5 kB / 0.6339 GB, free: 2.527 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.363e-05/0.1814, allocations: 39.84 kB / 0.6339 GB, free: 2.488 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.616e-05/0.1815, allocations: 8 kB / 0.6339 GB, free: 2.48 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.944e-05/0.1816, allocations: 15.98 kB / 0.634 GB, free: 2.465 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.575e-05/0.1816, allocations: 23.91 kB / 0.634 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.1816, allocations: 4 kB / 0.634 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000535/0.1822, allocations: 315.4 kB / 0.6343 GB, free: 2.129 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.1822, allocations: 7.984 kB / 0.6343 GB, free: 2.121 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.515e-05/0.1823, allocations: 11.92 kB / 0.6343 GB, free: 2.109 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003731/0.1826, allocations: 202.4 kB / 0.6345 GB, free: 1.914 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1826, allocations: 0 / 0.6345 GB, free: 1.914 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1827, allocations: 0 / 0.6345 GB, free: 1.914 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1827, allocations: 0 / 0.6345 GB, free: 1.914 MB / 478.1 MB 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.0006427/0.1833, allocations: 380 kB / 0.6349 GB, free: 1.496 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.1834, allocations: 8.031 kB / 0.6349 GB, free: 1.488 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.063e-05/0.1834, allocations: 34.75 kB / 0.6349 GB, free: 1.445 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004932/0.1839, allocations: 64.84 kB / 0.635 GB, free: 1.383 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.1841, allocations: 172.5 kB / 0.6351 GB, free: 1.176 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.373e-05/0.1841, allocations: 384 / 0.6351 GB, free: 1.176 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.1841, allocations: 384 / 0.6351 GB, free: 1.176 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.1844, allocations: 89.75 kB / 0.6352 GB, free: 1.082 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1845, allocations: 0 / 0.6352 GB, free: 1.082 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1845, allocations: 0 / 0.6352 GB, free: 1.082 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/0.1845, allocations: 4 kB / 0.6352 GB, free: 1.078 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003975/0.1849, allocations: 95.83 kB / 0.6353 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006062/0.1855, allocations: 304.8 kB / 0.6356 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.1859, allocations: 90.5 kB / 0.6357 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.1861, allocations: 52.86 kB / 0.6357 GB, free: 496 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.1862, allocations: 7.938 kB / 0.6357 GB, free: 488 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.1862, allocations: 34.56 kB / 0.6358 GB, free: 444 kB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.1862, allocations: 3.938 kB / 0.6358 GB, free: 440 kB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007287/0.1869, allocations: 161.5 kB / 0.6359 GB, free: 272 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.187, allocations: 55.41 kB / 0.636 GB, free: 204 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.807e-05/0.1871, allocations: 97.86 kB / 0.6361 GB, free: 96 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.1871, allocations: 33.83 kB / 0.6361 GB, free: 56 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/0.1872, allocations: 88.12 kB / 0.6362 GB, free: 15.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.1872, allocations: 3.906 kB / 0.6362 GB, free: 15.96 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.1873, allocations: 17.72 kB / 0.6362 GB, free: 15.94 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1874, allocations: 314.8 kB / 0.6365 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.1876, allocations: 47.95 kB / 0.6366 GB, free: 15.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.1878, allocations: 43.94 kB / 0.6366 GB, free: 15.53 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00037/0.1882, allocations: 92.77 kB / 0.6367 GB, free: 15.44 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1882, allocations: 0 / 0.6367 GB, free: 15.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004385/0.1886, allocations: 125.5 kB / 0.6368 GB, free: 15.31 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.1887, allocations: 8.031 kB / 0.6368 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1887, allocations: 0 / 0.6368 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.1887, allocations: 7.984 kB / 0.6368 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.1889, allocations: 15.98 kB / 0.6368 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1889, allocations: 0 / 0.6368 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.189, allocations: 19.97 kB / 0.6369 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.189, allocations: 4 kB / 0.6369 GB, free: 15.25 MB / 494.1 MB 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.1891, allocations: 109.8 kB / 0.637 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.1892, allocations: 8 kB / 0.637 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.685e-05/0.1892, allocations: 7.109 kB / 0.637 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1892, allocations: 0 / 0.637 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.1892, allocations: 0 / 0.637 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.1893, allocations: 3.984 kB / 0.637 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.1895, allocations: 173.5 kB / 0.6371 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.1895, allocations: 0 / 0.6371 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.1896, allocations: 31.91 kB / 0.6372 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1897, allocations: 0 / 0.6372 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.1897, allocations: 3.984 kB / 0.6372 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1897, allocations: 0 / 0.6372 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1897, allocations: 0 / 0.6372 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004981/0.1902, allocations: 219.4 kB / 0.6374 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.1903, allocations: 89.05 kB / 0.6375 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.1903, allocations: 0 / 0.6375 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.1904, allocations: 11.98 kB / 0.6375 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.1905, allocations: 7.984 kB / 0.6375 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.1905, allocations: 0 / 0.6375 GB, free: 14.51 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.378e-05/0.1905, allocations: 91.47 kB / 0.6376 GB, free: 14.42 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1906, allocations: 0 / 0.6376 GB, free: 14.42 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.1908, allocations: 16 kB / 0.6376 GB, free: 14.4 MB / 494.1 MB 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.0009255/0.1917, allocations: 0.7592 MB / 0.6383 GB, free: 13.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004836/0.1922, allocations: 99.94 kB / 0.6384 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1922, allocations: 0 / 0.6384 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.1925, allocations: 55.94 kB / 0.6385 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.1928, allocations: 9.562 kB / 0.6385 GB, free: 13.45 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008469/0.1936, allocations: 187.2 kB / 0.6387 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.1939, allocations: 0.6768 MB / 0.6393 GB, free: 12.52 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.885e-05/0.194, allocations: 8 kB / 0.6393 GB, free: 12.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.1941, allocations: 11.42 kB / 0.6394 GB, free: 12.5 MB / 494.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1941, allocations: 4 kB / 0.6394 GB, free: 12.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.2136, allocations: 1.703 MB / 0.641 GB, free: 10.88 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.598/7.812, allocations: 6.797 kB / 0.641 GB, free: 10.88 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)