Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_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.0008795/0.0008796, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0009702/0.0009703, allocations: 172.7 kB / 15.95 MB, free: 208 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.374/1.374, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.638/2.638, allocations: 409.4 MB / 0.684 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004121/0.0004122, allocations: 11.98 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7848/0.7852, allocations: 146.8 MB / 0.9811 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001701/0.787, allocations: 1.153 MB / 0.9823 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.7882, allocations: 0.7398 MB / 0.983 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.252e-05/0.7883, allocations: 0 / 0.983 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.359e-05/0.7883, allocations: 4 kB / 0.983 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.177e-05/0.7884, allocations: 3.938 kB / 0.983 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.7888, allocations: 91.75 kB / 0.9831 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.472e-05/0.7889, allocations: 31.91 kB / 0.9831 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.8e-05/0.789, allocations: 11.98 kB / 0.9831 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.341e-05/0.789, allocations: 7.938 kB / 0.9831 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.201e-05/0.7891, allocations: 19.97 kB / 0.9831 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.7891, allocations: 0 / 0.9831 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004892/0.7896, allocations: 307.3 kB / 0.9834 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.7896, allocations: 3.984 kB / 0.9834 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.7896, allocations: 37.7 kB / 0.9835 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.7899, allocations: 130.1 kB / 0.9836 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.7899, allocations: 0 / 0.9836 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7899, allocations: 0 / 0.9836 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.7899, allocations: 0 / 0.9836 GB, free: 3.668 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005195/0.7904, allocations: 379.2 kB / 0.984 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.7905, allocations: 8.031 kB / 0.984 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.868e-05/0.7905, allocations: 38.5 kB / 0.984 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004248/0.791, allocations: 79.91 kB / 0.9841 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.7911, allocations: 171 kB / 0.9842 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.7911, allocations: 4 kB / 0.9843 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.7912, allocations: 3.938 kB / 0.9843 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/0.7915, allocations: 97.58 kB / 0.9843 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.7915, allocations: 0 / 0.9843 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.7915, allocations: 0 / 0.9843 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.7915, allocations: 0 / 0.9843 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004137/0.7919, allocations: 115.9 kB / 0.9845 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000521/0.7925, allocations: 308.8 kB / 0.9848 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003741/0.7929, allocations: 122.4 kB / 0.9849 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.7931, allocations: 60.88 kB / 0.9849 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.7931, allocations: 3.938 kB / 0.9849 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.7931, allocations: 30.56 kB / 0.985 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 3.136e-06/0.7932, allocations: 3.984 kB / 0.985 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0006983/0.7939, allocations: 205.6 kB / 0.9852 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.7939, allocations: 51.41 kB / 0.9852 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.061e-05/0.794, allocations: 113.8 kB / 0.9853 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.794, allocations: 25.7 kB / 0.9853 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.7941, allocations: 80.14 kB / 0.9854 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.7941, allocations: 11.91 kB / 0.9854 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.7941, allocations: 0 / 0.9854 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.7943, allocations: 310.8 kB / 0.9857 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.7945, allocations: 59.97 kB / 0.9858 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.7947, allocations: 59.95 kB / 0.9858 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.7949, allocations: 56.02 kB / 0.9859 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7949, allocations: 0 / 0.9859 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004445/0.7954, allocations: 149.5 kB / 0.986 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.7954, allocations: 8 kB / 0.986 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.7954, allocations: 3.984 kB / 0.986 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.7954, allocations: 0 / 0.986 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.7956, allocations: 28.02 kB / 0.9861 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.7956, allocations: 3.938 kB / 0.9861 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.7957, allocations: 23.97 kB / 0.9861 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.7958, allocations: 3.938 kB / 0.9861 GB, free: 0.875 MB / 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 (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.0001161/0.7959, allocations: 113.8 kB / 0.9862 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.7959, allocations: 7.953 kB / 0.9862 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.616e-05/0.796, allocations: 7.109 kB / 0.9862 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.796, allocations: 0 / 0.9862 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.796, allocations: 0 / 0.9862 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.796, allocations: 0 / 0.9862 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.7962, allocations: 169.6 kB / 0.9864 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.7962, allocations: 3.984 kB / 0.9864 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.7964, allocations: 31.94 kB / 0.9864 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.7964, allocations: 0 / 0.9864 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.7964, allocations: 7.984 kB / 0.9864 GB, free: 496 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7964, allocations: 0 / 0.9864 GB, free: 496 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.7964, allocations: 0 / 0.9864 GB, free: 496 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005012/0.7969, allocations: 239.5 kB / 0.9867 GB, free: 240 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.489e-05/0.797, allocations: 81.02 kB / 0.9867 GB, free: 140 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.7971, allocations: 7.953 kB / 0.9867 GB, free: 132 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.7972, allocations: 27.95 kB / 0.9868 GB, free: 104 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.7972, allocations: 3.984 kB / 0.9868 GB, free: 100 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.7973, allocations: 0 / 0.9868 GB, free: 100 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.45e-05/0.7973, allocations: 87.22 kB / 0.9869 GB, free: 12 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7973, allocations: 0 / 0.9869 GB, free: 12 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002916/0.7976, allocations: 16.03 kB / 0.9869 GB, free: 15.99 MB / 0.7481 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.0009173/0.7986, allocations: 0.7788 MB / 0.9876 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004481/0.799, allocations: 119.8 kB / 0.9877 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.799, allocations: 4.062 kB / 0.9878 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.7992, allocations: 59.94 kB / 0.9878 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.7996, allocations: 12.02 kB / 0.9878 GB, free: 15 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007568/0.8003, allocations: 210.2 kB / 0.988 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.8006, allocations: 0.677 MB / 0.9887 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.257e-05/0.8007, allocations: 12 kB / 0.9887 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.718e-05/0.8008, allocations: 15.42 kB / 0.9887 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.8008, allocations: 0 / 0.9887 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01448/0.8153, allocations: 1.401 MB / 0.9901 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/0.8155, allocations: 197.2 kB / 0.9903 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.634, allocations: 0 / 0.9903 GB, free: 12.52 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat does not exist to compare? outputFormat=mat