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: translateModel(IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized") translateModel(IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 109.2 kB / 16.41 MB, free: 6.402 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.001749/0.001749, allocations: 193.2 kB / 17.34 MB, free: 5.691 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.764/0.764, allocations: 122.9 MB / 414.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 64.06 kB / 0.5685 GB, free: 28.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1905, allocations: 77.95 MB / 0.6446 GB, free: 9.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002656/0.1932, allocations: 1.426 MB / 0.646 GB, free: 7.605 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.1946, allocations: 0.8002 MB / 0.6468 GB, free: 6.797 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.535e-05/0.1946, allocations: 0 / 0.6468 GB, free: 6.797 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.402e-05/0.1947, allocations: 3.938 kB / 0.6468 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.132e-05/0.1947, allocations: 0 / 0.6468 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004635/0.1952, allocations: 131.5 kB / 0.6469 GB, free: 6.664 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.368e-05/0.1953, allocations: 31.86 kB / 0.6469 GB, free: 6.633 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.244e-05/0.1954, allocations: 7.984 kB / 0.6469 GB, free: 6.625 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.735e-05/0.1954, allocations: 12 kB / 0.647 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.481e-05/0.1955, allocations: 19.91 kB / 0.647 GB, free: 6.594 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.1955, allocations: 4 kB / 0.647 GB, free: 6.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004737/0.196, allocations: 327.3 kB / 0.6473 GB, free: 6.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.196, allocations: 4 kB / 0.6473 GB, free: 6.266 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.1961, allocations: 15.92 kB / 0.6473 GB, free: 6.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.1964, allocations: 195.5 kB / 0.6475 GB, free: 6.059 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1964, allocations: 0 / 0.6475 GB, free: 6.059 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1964, allocations: 0 / 0.6475 GB, free: 6.059 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.1964, allocations: 0 / 0.6475 GB, free: 6.059 MB / 494.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.0005714/0.197, allocations: 375 kB / 0.6479 GB, free: 5.645 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.1971, allocations: 12.62 kB / 0.6479 GB, free: 5.633 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004622/0.1975, allocations: 68.8 kB / 0.6479 GB, free: 5.566 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.1977, allocations: 180.3 kB / 0.6481 GB, free: 5.352 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.1977, allocations: 384 / 0.6481 GB, free: 5.352 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.1977, allocations: 384 / 0.6481 GB, free: 5.352 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.1981, allocations: 81.94 kB / 0.6482 GB, free: 5.266 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.1981, allocations: 0 / 0.6482 GB, free: 5.266 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1981, allocations: 8 kB / 0.6482 GB, free: 5.258 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1981, allocations: 4 kB / 0.6482 GB, free: 5.254 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004236/0.1985, allocations: 83.91 kB / 0.6483 GB, free: 5.172 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005575/0.1991, allocations: 304.8 kB / 0.6486 GB, free: 4.824 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003878/0.1995, allocations: 98.44 kB / 0.6487 GB, free: 4.719 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.1997, allocations: 48.88 kB / 0.6487 GB, free: 4.668 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.1998, allocations: 4 kB / 0.6487 GB, free: 4.664 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.1998, allocations: 30.56 kB / 0.6487 GB, free: 4.625 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.1998, allocations: 0 / 0.6487 GB, free: 4.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007623/0.2006, allocations: 177.5 kB / 0.6489 GB, free: 4.445 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.2006, allocations: 51.41 kB / 0.649 GB, free: 4.383 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.709e-05/0.2007, allocations: 105.8 kB / 0.6491 GB, free: 4.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.2007, allocations: 29.7 kB / 0.6491 GB, free: 4.234 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.2008, allocations: 80.14 kB / 0.6492 GB, free: 4.152 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.2008, allocations: 7.953 kB / 0.6492 GB, free: 4.145 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.2009, allocations: 17.75 kB / 0.6492 GB, free: 4.121 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.201, allocations: 314.8 kB / 0.6495 GB, free: 3.805 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.2012, allocations: 47.95 kB / 0.6495 GB, free: 3.758 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.2014, allocations: 43.95 kB / 0.6496 GB, free: 3.715 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.2018, allocations: 92.77 kB / 0.6497 GB, free: 3.621 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2018, allocations: 0 / 0.6497 GB, free: 3.621 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004738/0.2023, allocations: 129.5 kB / 0.6498 GB, free: 3.488 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2023, allocations: 4 kB / 0.6498 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2023, allocations: 0 / 0.6498 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.2024, allocations: 4 kB / 0.6498 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.2025, allocations: 24 kB / 0.6498 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.2026, allocations: 0 / 0.6498 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.2027, allocations: 19.98 kB / 0.6498 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.2027, allocations: 3.984 kB / 0.6498 GB, free: 3.434 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 7.651e-05/0.2028, allocations: 113.8 kB / 0.65 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.2028, allocations: 4 kB / 0.65 GB, free: 3.309 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.735e-05/0.2029, allocations: 7.125 kB / 0.65 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2029, allocations: 0 / 0.65 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2029, allocations: 256 / 0.65 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2029, allocations: 0 / 0.65 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.2031, allocations: 181.5 kB / 0.6501 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2031, allocations: 0 / 0.6501 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.2032, allocations: 23.97 kB / 0.6502 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.2032, allocations: 4 kB / 0.6502 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.2033, allocations: 4 kB / 0.6502 GB, free: 3.043 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2033, allocations: 0 / 0.6502 GB, free: 3.043 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2033, allocations: 0 / 0.6502 GB, free: 3.043 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005056/0.2038, allocations: 223.3 kB / 0.6504 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.2038, allocations: 89.05 kB / 0.6505 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.2039, allocations: 0 / 0.6505 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.204, allocations: 20 kB / 0.6505 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.2041, allocations: 4 kB / 0.6505 GB, free: 2.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.2041, allocations: 0 / 0.6505 GB, free: 2.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.062e-05/0.2041, allocations: 83.27 kB / 0.6506 GB, free: 2.598 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2041, allocations: 0 / 0.6506 GB, free: 2.598 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.2044, allocations: 16 kB / 0.6506 GB, free: 2.582 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.0001728/0.2046, allocations: 103.2 kB / 0.6507 GB, free: 2.469 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004862/0.2051, allocations: 99.89 kB / 0.6508 GB, free: 2.371 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2051, allocations: 7.875 kB / 0.6508 GB, free: 2.363 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.2053, allocations: 47.95 kB / 0.6508 GB, free: 2.316 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.2056, allocations: 3.938 kB / 0.6508 GB, free: 2.312 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005988/0.2062, allocations: 161.5 kB / 0.651 GB, free: 2.129 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.2065, allocations: 0.6807 MB / 0.6517 GB, free: 1.422 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.99e-05/0.2066, allocations: 8 kB / 0.6517 GB, free: 1.414 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.026e-05/0.2066, allocations: 15.42 kB / 0.6517 GB, free: 1.398 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2066, allocations: 0 / 0.6517 GB, free: 1.398 MB / 494.1 MB Notification: Performance of Templates: time 0.003168/0.2098, allocations: 0.8069 MB / 0.6525 GB, free: 0.5938 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)