Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.967/1.967, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.0009201/0.0009204, allocations: 176.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 221.3 MB / 0.7915 GB, free: 5.457 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.0008312/0.0008313, allocations: 103.9 kB / 0.9317 GB, free: 5.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.772e-05/2.774e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2366, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7209/0.9576, allocations: 150.7 MB / 1.366 GB, free: 3.324 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.9578, allocations: 87.92 kB / 1.366 GB, free: 3.273 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0113/0.9691, allocations: 4.176 MB / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9692, allocations: 0 / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.9692, allocations: 0 / 1.37 GB, free: 15.7 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.0002941/0.9695, allocations: 374.1 kB / 1.371 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.9695, allocations: 12.03 kB / 1.371 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.9696, allocations: 38.55 kB / 1.371 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002601/0.9698, allocations: 56.64 kB / 1.371 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.97, allocations: 174.2 kB / 1.371 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.97, allocations: 0 / 1.371 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.97, allocations: 4 kB / 1.371 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.957e-05/0.9701, allocations: 48.94 kB / 1.371 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.9701, allocations: 3.984 kB / 1.371 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.9701, allocations: 0 / 1.371 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.9702, allocations: 4 kB / 1.371 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.879e-05/0.9702, allocations: 23.55 kB / 1.371 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.9704, allocations: 179.7 kB / 1.371 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.837e-05/0.9705, allocations: 46.84 kB / 1.371 GB, free: 14.63 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.544e-05/0.9705, allocations: 19.61 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.9705, allocations: 3.938 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.9706, allocations: 34.44 kB / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.9706, allocations: 0 / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.002175/0.9727, allocations: 452 kB / 1.372 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.9728, allocations: 51.41 kB / 1.372 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.888e-05/0.9729, allocations: 112.1 kB / 1.372 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.9729, allocations: 25.7 kB / 1.372 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.348e-05/0.9729, allocations: 87.64 kB / 1.372 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.973, allocations: 34.86 kB / 1.372 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.095e-05/0.973, allocations: 0 / 1.372 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.902e-05/0.9731, allocations: 318.3 kB / 1.372 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.798e-05/0.9732, allocations: 38.67 kB / 1.372 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.054e-05/0.9732, allocations: 38.17 kB / 1.372 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.858e-05/0.9733, allocations: 38.66 kB / 1.372 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.9733, allocations: 4 kB / 1.372 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002323/0.9736, allocations: 126.7 kB / 1.372 GB, free: 13.33 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.9736, allocations: 4 kB / 1.372 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.9736, allocations: 4 kB / 1.372 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.9736, allocations: 0 / 1.372 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/0.974, allocations: 75.84 kB / 1.373 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.974, allocations: 4 kB / 1.373 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.9742, allocations: 39.97 kB / 1.373 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.9743, allocations: 15.92 kB / 1.373 GB, free: 13.19 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.91e-05/0.9743, allocations: 104.4 kB / 1.373 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.9744, allocations: 7.906 kB / 1.373 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/0.9744, allocations: 11.44 kB / 1.373 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.9744, allocations: 4.375 kB / 1.373 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.9744, allocations: 0 / 1.373 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.9744, allocations: 3.984 kB / 1.373 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.9755, allocations: 0.5198 MB / 1.373 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.9755, allocations: 7.922 kB / 1.373 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003022/0.9758, allocations: 64.38 kB / 1.373 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.9758, allocations: 0 / 1.373 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.9758, allocations: 18.94 kB / 1.373 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.9758, allocations: 4 kB / 1.373 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.9758, allocations: 7.984 kB / 1.373 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.9761, allocations: 244 kB / 1.374 GB, free: 12.16 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/0.9761, allocations: 85.02 kB / 1.374 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.9761, allocations: 3.984 kB / 1.374 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.9764, allocations: 43.97 kB / 1.374 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.9765, allocations: 15.72 kB / 1.374 GB, free: 12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.9765, allocations: 7.984 kB / 1.374 GB, free: 12 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.024e-05/0.9765, allocations: 87.7 kB / 1.374 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9765, allocations: 0 / 1.374 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002381/0.9768, allocations: 39.94 kB / 1.374 GB, free: 11.88 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.0005813/0.9774, allocations: 0.9473 MB / 1.375 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002019/0.9776, allocations: 96.58 kB / 1.375 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.9776, allocations: 0 / 1.375 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.762e-05/0.9777, allocations: 48.84 kB / 1.375 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.9778, allocations: 0 / 1.375 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.9792, allocations: 403.9 kB / 1.375 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.9794, allocations: 0.6898 MB / 1.376 GB, free: 9.668 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001544/0.9796, allocations: 32.97 kB / 1.376 GB, free: 9.633 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.9797, allocations: 34.39 kB / 1.376 GB, free: 9.605 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/0.9797, allocations: 4 kB / 1.376 GB, free: 9.602 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01169/0.9914, allocations: 2.631 MB / 1.379 GB, free: 7.137 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/0.9916, allocations: 176.9 kB / 1.379 GB, free: 6.906 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.416/2.408, allocations: 7.625 kB / 1.379 GB, free: 6.902 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat does not exist to compare? outputFormat=mat