Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_Buildings_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.001663/0.001672, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001709/0.00171, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.445/3.445, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.525/3.525, allocations: 292.6 MB / 0.5497 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009535/0.0009537, allocations: 13.94 kB / 0.6737 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4795/0.4804, allocations: 116.3 MB / 0.7872 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002708/0.4832, allocations: 1.148 MB / 0.7883 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002098/0.4854, allocations: 0.7786 MB / 0.7891 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.419e-05/0.4854, allocations: 0 / 0.7891 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.4855, allocations: 0 / 0.7891 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.985e-05/0.4856, allocations: 7.984 kB / 0.7891 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000641/0.4862, allocations: 95.75 kB / 0.7892 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.4863, allocations: 27.89 kB / 0.7892 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.4865, allocations: 4 kB / 0.7892 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.659e-05/0.4866, allocations: 15.98 kB / 0.7892 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.061e-05/0.4867, allocations: 11.92 kB / 0.7893 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.4867, allocations: 4 kB / 0.7893 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008158/0.4875, allocations: 307.5 kB / 0.7896 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.4876, allocations: 7.984 kB / 0.7896 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.738e-05/0.4877, allocations: 37.64 kB / 0.7896 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004219/0.4881, allocations: 152 kB / 0.7897 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4881, allocations: 0 / 0.7897 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.835e-06/0.4881, allocations: 0 / 0.7897 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.4881, allocations: 0 / 0.7897 GB, free: 9.23 MB / 0.6075 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.0008365/0.489, allocations: 371.3 kB / 0.7901 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.398e-05/0.4891, allocations: 12.03 kB / 0.7901 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.076e-05/0.4891, allocations: 34.5 kB / 0.7901 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009061/0.4901, allocations: 79.91 kB / 0.7902 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.4903, allocations: 171 kB / 0.7904 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-05/0.4903, allocations: 4 kB / 0.7904 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.4904, allocations: 3.984 kB / 0.7904 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005879/0.491, allocations: 93.62 kB / 0.7905 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.491, allocations: 0 / 0.7905 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.491, allocations: 4 kB / 0.7905 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.381e-06/0.491, allocations: 4 kB / 0.7905 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009016/0.492, allocations: 111.8 kB / 0.7906 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009546/0.4929, allocations: 308.8 kB / 0.7909 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007371/0.4937, allocations: 114.5 kB / 0.791 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.4937, allocations: 0 / 0.791 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.4938, allocations: 34.62 kB / 0.791 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.124e-06/0.4938, allocations: 0 / 0.791 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.001494/0.4953, allocations: 209.6 kB / 0.7912 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/0.4954, allocations: 55.36 kB / 0.7913 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.4955, allocations: 101.8 kB / 0.7914 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.4956, allocations: 29.7 kB / 0.7914 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.454e-05/0.4957, allocations: 80.14 kB / 0.7915 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.4957, allocations: 3.906 kB / 0.7915 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-06/0.4957, allocations: 3.938 kB / 0.7915 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.4959, allocations: 318.9 kB / 0.7918 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004247/0.4963, allocations: 59.94 kB / 0.7919 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004323/0.4968, allocations: 55.95 kB / 0.7919 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004073/0.4972, allocations: 52.02 kB / 0.792 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4972, allocations: 4 kB / 0.792 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0009233/0.4982, allocations: 153.5 kB / 0.7921 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.4982, allocations: 4 kB / 0.7921 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.4982, allocations: 0 / 0.7921 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.4983, allocations: 0 / 0.7921 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.4986, allocations: 32 kB / 0.7921 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.038e-05/0.4986, allocations: 3.984 kB / 0.7921 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.4989, allocations: 27.88 kB / 0.7922 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.4989, allocations: 4 kB / 0.7922 GB, free: 6.516 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001411/0.4991, allocations: 113.8 kB / 0.7923 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/0.4992, allocations: 3.906 kB / 0.7923 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.816e-05/0.4992, allocations: 7.375 kB / 0.7923 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.4993, allocations: 4 kB / 0.7923 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.4993, allocations: 4 kB / 0.7923 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4993, allocations: 0 / 0.7923 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003336/0.4996, allocations: 177.6 kB / 0.7925 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4997, allocations: 0 / 0.7925 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.4999, allocations: 31.97 kB / 0.7925 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.5, allocations: 0 / 0.7925 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.5, allocations: 0 / 0.7925 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.5, allocations: 0 / 0.7925 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5, allocations: 3.938 kB / 0.7925 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009905/0.501, allocations: 247.4 kB / 0.7927 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.754e-05/0.5011, allocations: 77.11 kB / 0.7928 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.5011, allocations: 32 / 0.7928 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002993/0.5015, allocations: 27.97 kB / 0.7928 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.5015, allocations: 0 / 0.7928 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.5016, allocations: 4 kB / 0.7928 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.404e-05/0.5016, allocations: 87.27 kB / 0.7929 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.81e-07/0.5017, allocations: 0 / 0.7929 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005087/0.5022, allocations: 12 kB / 0.7929 GB, free: 5.637 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001778/0.504, allocations: 0.7904 MB / 0.7937 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009179/0.5049, allocations: 123.9 kB / 0.7938 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.505, allocations: 0 / 0.7938 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004403/0.5054, allocations: 60.02 kB / 0.7939 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.5058, allocations: 7.938 kB / 0.7939 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.5071, allocations: 221.8 kB / 0.7941 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.5075, allocations: 0.677 MB / 0.7948 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001681/0.5077, allocations: 15.98 kB / 0.7948 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.751e-05/0.5078, allocations: 15.44 kB / 0.7948 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.5078, allocations: 0 / 0.7948 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.5325, allocations: 1.375 MB / 0.7961 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003409/0.5329, allocations: 182.2 kB / 0.7963 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.019/3.552, allocations: 0 / 0.7963 GB, free: 2.152 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) Environment - environmentSimulation: