Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.004755/0.004755, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001089/0.001089, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002052/0.002052, allocations: 298.9 kB / 290.8 MB, free: 14.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9407/0.9407, allocations: 169.2 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 99.83 kB / 0.6815 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.403, allocations: 86.97 MB / 0.7664 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002227/0.4052, allocations: 1.433 MB / 0.7678 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.4065, allocations: 0.7931 MB / 0.7686 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.462e-05/0.4065, allocations: 0 / 0.7686 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.4066, allocations: 3.938 kB / 0.7686 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.887e-05/0.4067, allocations: 11.92 kB / 0.7686 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.4071, allocations: 123.5 kB / 0.7687 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.928e-05/0.4072, allocations: 27.92 kB / 0.7687 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.933e-05/0.4073, allocations: 11.88 kB / 0.7687 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.252e-05/0.4074, allocations: 19.98 kB / 0.7687 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.344e-05/0.4075, allocations: 23.91 kB / 0.7688 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.4075, allocations: 0 / 0.7688 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004859/0.408, allocations: 319.4 kB / 0.7691 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.408, allocations: 7.984 kB / 0.7691 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.408, allocations: 11.94 kB / 0.7691 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.4084, allocations: 201.1 kB / 0.7693 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4084, allocations: 3.938 kB / 0.7693 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4084, allocations: 0 / 0.7693 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.4084, allocations: 0 / 0.7693 GB, free: 0.8945 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.0005269/0.4089, allocations: 375.1 kB / 0.7696 GB, free: 492 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.409, allocations: 12.03 kB / 0.7697 GB, free: 480 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004413/0.4094, allocations: 64.84 kB / 0.7697 GB, free: 416 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.4096, allocations: 176.3 kB / 0.7699 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.4096, allocations: 384 / 0.7699 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.4096, allocations: 384 / 0.7699 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.4099, allocations: 85.94 kB / 0.77 GB, free: 108 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.4099, allocations: 0 / 0.77 GB, free: 108 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.4099, allocations: 8 kB / 0.77 GB, free: 100 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.4099, allocations: 0 / 0.77 GB, free: 100 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003962/0.4103, allocations: 91.89 kB / 0.7701 GB, free: 8 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.4108, allocations: 296.8 kB / 0.7704 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/0.4112, allocations: 94.5 kB / 0.7704 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.4114, allocations: 52.86 kB / 0.7705 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.4114, allocations: 3.938 kB / 0.7705 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.4114, allocations: 34.56 kB / 0.7705 GB, free: 15.46 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.4115, allocations: 0 / 0.7705 GB, free: 15.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0007198/0.4122, allocations: 169.5 kB / 0.7707 GB, free: 15.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.4122, allocations: 51.41 kB / 0.7707 GB, free: 15.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.704e-05/0.4123, allocations: 101.9 kB / 0.7708 GB, free: 15.12 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.4123, allocations: 29.83 kB / 0.7709 GB, free: 15.09 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.4124, allocations: 84.09 kB / 0.7709 GB, free: 15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.4124, allocations: 11.94 kB / 0.771 GB, free: 14.99 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.4125, allocations: 13.72 kB / 0.771 GB, free: 14.97 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4126, allocations: 310.8 kB / 0.7713 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.4128, allocations: 51.95 kB / 0.7713 GB, free: 14.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.413, allocations: 44.19 kB / 0.7714 GB, free: 14.56 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.4134, allocations: 92.77 kB / 0.7714 GB, free: 14.47 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4134, allocations: 4 kB / 0.7714 GB, free: 14.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004338/0.4138, allocations: 121.6 kB / 0.7716 GB, free: 14.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.4138, allocations: 12 kB / 0.7716 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.4139, allocations: 3.938 kB / 0.7716 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.4139, allocations: 0 / 0.7716 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.414, allocations: 19.97 kB / 0.7716 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.414, allocations: 0 / 0.7716 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.4142, allocations: 27.97 kB / 0.7716 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.4142, allocations: 3.984 kB / 0.7716 GB, free: 14.27 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 7.364e-05/0.4143, allocations: 116.2 kB / 0.7717 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.4143, allocations: 0 / 0.7717 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.524e-05/0.4143, allocations: 7.109 kB / 0.7717 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4143, allocations: 0 / 0.7717 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4143, allocations: 0 / 0.7717 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.4143, allocations: 4 kB / 0.7718 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.4145, allocations: 173.6 kB / 0.7719 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4145, allocations: 4 kB / 0.7719 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.4146, allocations: 19.97 kB / 0.7719 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4147, allocations: 0 / 0.7719 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.4147, allocations: 3.984 kB / 0.7719 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4147, allocations: 7.875 kB / 0.772 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4147, allocations: 4 kB / 0.772 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.4152, allocations: 223.4 kB / 0.7722 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.4152, allocations: 85.12 kB / 0.7722 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.4152, allocations: 4 kB / 0.7723 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.4154, allocations: 15.98 kB / 0.7723 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.4154, allocations: 3.984 kB / 0.7723 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.4154, allocations: 0 / 0.7723 GB, free: 13.53 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.008e-05/0.4155, allocations: 79.28 kB / 0.7723 GB, free: 13.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4155, allocations: 0 / 0.7723 GB, free: 13.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002362/0.4157, allocations: 23.94 kB / 0.7724 GB, free: 13.43 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.0001407/0.4159, allocations: 107.2 kB / 0.7725 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004547/0.4163, allocations: 95.84 kB / 0.7726 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4164, allocations: 0 / 0.7726 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.4166, allocations: 56 kB / 0.7726 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.4169, allocations: 10.88 kB / 0.7726 GB, free: 13.15 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005289/0.4174, allocations: 161.5 kB / 0.7728 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.4176, allocations: 0.6768 MB / 0.7734 GB, free: 12.26 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.808e-05/0.4177, allocations: 11.94 kB / 0.7735 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.4177, allocations: 7.438 kB / 0.7735 GB, free: 12.24 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4178, allocations: 0 / 0.7735 GB, free: 12.24 MB / 0.545 GB Notification: Performance of Templates: time 0.002683/0.4204, allocations: 0.8317 MB / 0.7743 GB, free: 11.42 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)