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/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007444/0.0007444, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008083/0.0008084, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.413/2.413, allocations: 409.4 MB / 0.684 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003521, allocations: 11.94 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6807/0.6811, allocations: 146.8 MB / 0.9812 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0007154/0.6818, allocations: 357.5 kB / 0.9815 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001633/0.6835, allocations: 1.391 MB / 0.9829 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.387e-05/0.6835, allocations: 0 / 0.9829 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.067e-05/0.6835, allocations: 3.938 kB / 0.9829 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.392e-05/0.6836, allocations: 0 / 0.9829 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.6839, allocations: 98.08 kB / 0.9829 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.216e-05/0.684, allocations: 23.91 kB / 0.983 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.11e-05/0.684, allocations: 0 / 0.983 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.921e-05/0.6841, allocations: 15.94 kB / 0.983 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.005e-05/0.6841, allocations: 23.89 kB / 0.983 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.6841, allocations: 4 kB / 0.983 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004379/0.6846, allocations: 307.3 kB / 0.9833 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.07e-05/0.6846, allocations: 3.938 kB / 0.9833 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.6846, allocations: 25.7 kB / 0.9833 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.6849, allocations: 146 kB / 0.9835 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.188e-05/0.6849, allocations: 0 / 0.9835 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.116e-06/0.6849, allocations: 4 kB / 0.9835 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.6849, allocations: 0 / 0.9835 GB, free: 3.848 MB / 0.7325 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.0004395/0.6853, allocations: 367.2 kB / 0.9838 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.6854, allocations: 8.031 kB / 0.9838 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.313e-05/0.6854, allocations: 34.56 kB / 0.9839 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003396/0.6858, allocations: 75.92 kB / 0.9839 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.6859, allocations: 182.9 kB / 0.9841 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.6859, allocations: 0 / 0.9841 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.686, allocations: 11.91 kB / 0.9841 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.6862, allocations: 81.59 kB / 0.9842 GB, free: 3 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.6862, allocations: 0 / 0.9842 GB, free: 3 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.6862, allocations: 0 / 0.9842 GB, free: 3 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.6863, allocations: 4 kB / 0.9842 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003161/0.6866, allocations: 79.92 kB / 0.9843 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.6868, allocations: 169.7 kB / 0.9844 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004845/0.6873, allocations: 154.4 kB / 0.9846 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.6874, allocations: 48.95 kB / 0.9846 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.6875, allocations: 0 / 0.9846 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.6875, allocations: 34.56 kB / 0.9847 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 9.61e-07/0.6875, allocations: 0 / 0.9847 GB, free: 2.449 MB / 0.7325 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.003795/0.6913, allocations: 0.9574 MB / 0.9856 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.6913, allocations: 51.41 kB / 0.9857 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.231e-05/0.6914, allocations: 113.8 kB / 0.9858 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.6915, allocations: 25.7 kB / 0.9858 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.6915, allocations: 88.14 kB / 0.9859 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.6915, allocations: 35.48 kB / 0.9859 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-06/0.6916, allocations: 0 / 0.9859 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.147e-05/0.6917, allocations: 314.8 kB / 0.9862 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.692, allocations: 119.9 kB / 0.9863 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003662/0.6924, allocations: 123.9 kB / 0.9864 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.6928, allocations: 111.9 kB / 0.9865 GB, free: 492 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.6928, allocations: 3.938 kB / 0.9866 GB, free: 488 kB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008131/0.6936, allocations: 281.3 kB / 0.9868 GB, free: 200 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.6936, allocations: 8 kB / 0.9868 GB, free: 192 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.6936, allocations: 0.75 kB / 0.9868 GB, free: 192 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.6937, allocations: 4 kB / 0.9868 GB, free: 188 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.694, allocations: 67.88 kB / 0.9869 GB, free: 120 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.694, allocations: 0 / 0.9869 GB, free: 120 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.6942, allocations: 47.95 kB / 0.9869 GB, free: 72 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.6942, allocations: 7.984 kB / 0.987 GB, free: 64 kB / 0.7325 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 (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 9.877e-05/0.6943, allocations: 113.8 kB / 0.9871 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.6944, allocations: 11.95 kB / 0.9871 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.002e-05/0.6944, allocations: 8.375 kB / 0.9871 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.6944, allocations: 0 / 0.9871 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.6944, allocations: 0 / 0.9871 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.6944, allocations: 4 kB / 0.9871 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.696, allocations: 0.6598 MB / 0.9877 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.696, allocations: 4 kB / 0.9877 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.6962, allocations: 64 kB / 0.9878 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.6963, allocations: 0 / 0.9878 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.6963, allocations: 11.98 kB / 0.9878 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.6963, allocations: 0 / 0.9878 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.6963, allocations: 4 kB / 0.9878 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008623/0.6972, allocations: 389.1 kB / 0.9882 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.6972, allocations: 81.11 kB / 0.9883 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.6972, allocations: 4 kB / 0.9883 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.6975, allocations: 43.95 kB / 0.9883 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.6975, allocations: 11.98 kB / 0.9883 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.6976, allocations: 15.92 kB / 0.9883 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.45e-05/0.6976, allocations: 87.28 kB / 0.9884 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6976, allocations: 0 / 0.9884 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002945/0.6979, allocations: 39.92 kB / 0.9884 GB, free: 14.41 MB / 0.7481 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 () * Number of clocked 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.001255/0.6992, allocations: 0.9481 MB / 0.9894 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008258/0.7, allocations: 247.7 kB / 0.9896 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7, allocations: 0 / 0.9896 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004061/0.7004, allocations: 128 kB / 0.9897 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.7007, allocations: 7.984 kB / 0.9897 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.7037, allocations: 1.144 MB / 0.9909 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.704, allocations: 0.6887 MB / 0.9915 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00012/0.7041, allocations: 21.89 kB / 0.9916 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.817e-05/0.7042, allocations: 31.34 kB / 0.9916 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of SimCode: time 8.11e-07/0.7042, allocations: 0 / 0.9916 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01275/0.717, allocations: 2.449 MB / 0.994 GB, free: 8.82 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/0.7172, allocations: 206.2 kB / 0.9942 GB, free: 8.578 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/2.463, allocations: 10.5 kB / 0.9942 GB, free: 8.57 MB / 0.7481 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) Environment - environmentSimulation: 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