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.001418/0.001418, 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.001706/0.001707, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.561/2.561, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.796/4.796, allocations: 409.2 MB / 0.6838 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004042/0.0004043, allocations: 12 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.286/1.286, allocations: 146.8 MB / 0.9809 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001037/1.288, allocations: 361.4 kB / 0.9812 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002281/1.29, allocations: 1.387 MB / 0.9826 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.082e-05/1.29, allocations: 0 / 0.9826 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.802e-05/1.29, allocations: 0 / 0.9826 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/1.29, allocations: 7.984 kB / 0.9826 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/1.291, allocations: 95.69 kB / 0.9827 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.93e-05/1.291, allocations: 19.91 kB / 0.9827 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.619e-05/1.291, allocations: 4 kB / 0.9827 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.037e-05/1.291, allocations: 4 kB / 0.9827 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.797e-05/1.291, allocations: 23.91 kB / 0.9827 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/1.291, allocations: 0 / 0.9827 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006371/1.292, allocations: 315.4 kB / 0.983 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/1.292, allocations: 7.969 kB / 0.983 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.116e-05/1.292, allocations: 37.64 kB / 0.9831 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002693/1.292, allocations: 134.1 kB / 0.9832 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.292, allocations: 0 / 0.9832 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.725e-06/1.292, allocations: 0 / 0.9832 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.941e-06/1.292, allocations: 0 / 0.9832 GB, free: 3.891 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.0007582/1.293, allocations: 371.2 kB / 0.9836 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/1.293, allocations: 8.031 kB / 0.9836 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.389e-05/1.293, allocations: 38.55 kB / 0.9836 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004492/1.293, allocations: 75.92 kB / 0.9837 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/1.293, allocations: 171 kB / 0.9838 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/1.294, allocations: 0 / 0.9838 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/1.294, allocations: 11.91 kB / 0.9838 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/1.294, allocations: 93.53 kB / 0.9839 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/1.294, allocations: 3.938 kB / 0.9839 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/1.294, allocations: 0 / 0.9839 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/1.294, allocations: 3.938 kB / 0.9839 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003921/1.294, allocations: 87.91 kB / 0.984 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002526/1.295, allocations: 165.7 kB / 0.9842 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007195/1.295, allocations: 146.5 kB / 0.9843 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/1.295, allocations: 4 kB / 0.9843 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/1.295, allocations: 30.56 kB / 0.9844 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/1.295, allocations: 3.938 kB / 0.9844 GB, free: 2.531 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.005055/1.3, allocations: 0.9498 MB / 0.9853 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.989e-05/1.301, allocations: 51.41 kB / 0.9853 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/1.301, allocations: 113.8 kB / 0.9854 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/1.301, allocations: 25.7 kB / 0.9855 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.924e-05/1.301, allocations: 92.12 kB / 0.9856 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.076e-05/1.301, allocations: 27.56 kB / 0.9856 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/1.301, allocations: 4 kB / 0.9856 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0003757/1.302, allocations: 318.8 kB / 0.9859 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000567/1.302, allocations: 123.8 kB / 0.986 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004824/1.303, allocations: 107.9 kB / 0.9861 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007033/1.303, allocations: 115.9 kB / 0.9862 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.303, allocations: 0 / 0.9862 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001533/1.305, allocations: 293.5 kB / 0.9865 GB, free: 288 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.746e-05/1.305, allocations: 7.953 kB / 0.9865 GB, free: 280 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/1.305, allocations: 0 / 0.9865 GB, free: 280 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/1.305, allocations: 0 / 0.9865 GB, free: 280 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006184/1.306, allocations: 63.94 kB / 0.9866 GB, free: 216 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/1.306, allocations: 4 kB / 0.9866 GB, free: 212 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/1.306, allocations: 47.95 kB / 0.9866 GB, free: 164 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/1.306, allocations: 4 kB / 0.9866 GB, free: 160 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 0.0003294/1.306, allocations: 117.8 kB / 0.9867 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/1.306, allocations: 3.938 kB / 0.9867 GB, free: 28 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/1.307, allocations: 24.31 kB / 0.9868 GB, free: 0 / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/1.307, allocations: 0 / 0.9868 GB, free: 0 / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/1.307, allocations: 0 / 0.9868 GB, free: 0 / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/1.307, allocations: 0 / 0.9868 GB, free: 0 / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004574/1.311, allocations: 0.6598 MB / 0.9874 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/1.311, allocations: 4.812 kB / 0.9874 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007075/1.312, allocations: 59.94 kB / 0.9875 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.027e-05/1.312, allocations: 8 kB / 0.9875 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/1.312, allocations: 4 kB / 0.9875 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-05/1.312, allocations: 11.94 kB / 0.9875 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.571e-05/1.312, allocations: 3.984 kB / 0.9875 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/1.315, allocations: 408.3 kB / 0.9879 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/1.315, allocations: 77.11 kB / 0.988 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.135e-05/1.315, allocations: 4 kB / 0.988 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005247/1.315, allocations: 47.95 kB / 0.988 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.541e-05/1.315, allocations: 11.94 kB / 0.988 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/1.315, allocations: 7.984 kB / 0.988 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001134/1.316, allocations: 95.27 kB / 0.9881 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.01e-07/1.316, allocations: 0 / 0.9881 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005687/1.316, allocations: 47.92 kB / 0.9882 GB, free: 14.45 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.002567/1.319, allocations: 1.093 MB / 0.9892 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001495/1.32, allocations: 260.3 kB / 0.9895 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.32, allocations: 0 / 0.9895 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007409/1.321, allocations: 132 kB / 0.9896 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/1.321, allocations: 1.547 kB / 0.9896 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005563/1.327, allocations: 1.151 MB / 0.9907 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007326/1.328, allocations: 0.6887 MB / 0.9914 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002121/1.328, allocations: 24.86 kB / 0.9914 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/1.328, allocations: 31.42 kB / 0.9915 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of SimCode: time 7.02e-07/1.328, allocations: 0 / 0.9915 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/1.355, allocations: 2.42 MB / 0.9938 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000401/1.356, allocations: 203.4 kB / 0.994 GB, free: 8.469 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.829/4.185, allocations: 3.938 kB / 0.994 GB, free: 8.465 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