Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.967/1.967, allocations: 387.1 MB / 399.7 MB, free: 9.504 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009888/0.0009891, allocations: 180.9 kB / 492.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 221.3 MB / 0.7871 GB, free: 13 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007561/0.0007562, allocations: 95.89 kB / 0.9267 GB, free: 14.07 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.384e-05/3.385e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2138, allocations: 142.4 MB / 1.213 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7528/0.9667, allocations: 149.9 MB / 1.359 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.9669, allocations: 82.2 kB / 1.359 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01113/0.978, allocations: 4.179 MB / 1.363 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.342e-06/0.9781, allocations: 4 kB / 1.363 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.9781, allocations: 3.844 kB / 1.363 GB, free: 34.43 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002907/0.9784, allocations: 370.6 kB / 1.363 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.9784, allocations: 7.719 kB / 1.363 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.818e-05/0.9785, allocations: 37.28 kB / 1.363 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002574/0.9787, allocations: 57.73 kB / 1.364 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.12e-05/0.9788, allocations: 172.3 kB / 1.364 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.9789, allocations: 3.875 kB / 1.364 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.9789, allocations: 3.75 kB / 1.364 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.62e-05/0.979, allocations: 51.98 kB / 1.364 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.979, allocations: 4 kB / 1.364 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.979, allocations: 0 / 1.364 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.979, allocations: 0 / 1.364 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.81e-05/0.9791, allocations: 28.75 kB / 1.364 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.9792, allocations: 170.1 kB / 1.364 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.68e-05/0.9793, allocations: 52.16 kB / 1.364 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.121e-05/0.9793, allocations: 20.33 kB / 1.364 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.9794, allocations: 4 kB / 1.364 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.221e-05/0.9794, allocations: 36.05 kB / 1.364 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.9794, allocations: 0 / 1.364 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.002154/0.9815, allocations: 438.9 kB / 1.364 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.031e-05/0.9816, allocations: 62.72 kB / 1.365 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.912e-05/0.9817, allocations: 101.6 kB / 1.365 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.9817, allocations: 25.7 kB / 1.365 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.97e-05/0.9817, allocations: 84.67 kB / 1.365 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.9818, allocations: 28.33 kB / 1.365 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.207e-05/0.9818, allocations: 7.562 kB / 1.365 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.674e-05/0.9819, allocations: 321.4 kB / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.628e-05/0.9819, allocations: 41.2 kB / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.077e-05/0.982, allocations: 51.92 kB / 1.365 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.665e-05/0.9821, allocations: 35 kB / 1.365 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/0.9821, allocations: 0 / 1.365 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002249/0.9823, allocations: 131.6 kB / 1.365 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.9824, allocations: 6.609 kB / 1.365 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.9824, allocations: 0 / 1.365 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.9824, allocations: 0 / 1.365 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.9827, allocations: 71.3 kB / 1.365 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.9827, allocations: 0 / 1.365 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.983, allocations: 47.22 kB / 1.365 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.983, allocations: 11.59 kB / 1.365 GB, free: 32.76 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 6.815e-05/0.9831, allocations: 106.3 kB / 1.366 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.9831, allocations: 15.25 kB / 1.366 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.9832, allocations: 9.641 kB / 1.366 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.9832, allocations: 7.797 kB / 1.366 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.9832, allocations: 4 kB / 1.366 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.9832, allocations: 0 / 1.366 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009564/0.9842, allocations: 0.5155 MB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.9842, allocations: 2.672 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002877/0.9845, allocations: 73.28 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.9845, allocations: 0 / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.9845, allocations: 6.516 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.9845, allocations: 3.953 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.9845, allocations: 3.844 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.9848, allocations: 250.5 kB / 1.366 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.493e-05/0.9848, allocations: 88.53 kB / 1.366 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.9848, allocations: 3.844 kB / 1.366 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.9851, allocations: 45 kB / 1.367 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.9852, allocations: 25.11 kB / 1.367 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.9852, allocations: 6.391 kB / 1.367 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.756e-05/0.9852, allocations: 91.34 kB / 1.367 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9852, allocations: 0 / 1.367 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002457/0.9855, allocations: 41.78 kB / 1.367 GB, free: 31.89 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0004991/0.986, allocations: 0.9389 MB / 1.368 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001774/0.9862, allocations: 90.33 kB / 1.368 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.9862, allocations: 0 / 1.368 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.813e-05/0.9863, allocations: 53.44 kB / 1.368 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.9864, allocations: 2.875 kB / 1.368 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.9877, allocations: 409.3 kB / 1.368 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.9879, allocations: 0.686 MB / 1.369 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00013/0.9881, allocations: 27.53 kB / 1.369 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.9882, allocations: 36.02 kB / 1.369 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/0.9882, allocations: 0 / 1.369 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01228/1, allocations: 2.63 MB / 1.371 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001281/1.001, allocations: 161.6 kB / 1.372 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.43/2.431, allocations: 2.109 kB / 1.372 GB, free: 29.71 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat does not exist to compare? outputFormat=mat