Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_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.006009/0.006009, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001482/0.001482, allocations: 193.8 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002609/0.002609, allocations: 274.6 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.089/1.089, allocations: 178.6 MB / 0.5074 GB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002844/0.002844, allocations: 99.09 kB / 0.6943 GB, free: 3.621 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.575/0.5779, allocations: 89.14 MB / 0.7813 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.003027/0.5809, allocations: 1.447 MB / 0.7828 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001637/0.5826, allocations: 0.7912 MB / 0.7835 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.851e-05/0.5826, allocations: 0 / 0.7835 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.894e-05/0.5827, allocations: 5.344 kB / 0.7835 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.269e-05/0.5828, allocations: 4.5 kB / 0.7835 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005732/0.5834, allocations: 120.8 kB / 0.7837 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.5835, allocations: 39.92 kB / 0.7837 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.5836, allocations: 9.703 kB / 0.7837 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.42e-05/0.5837, allocations: 16.39 kB / 0.7837 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.648e-05/0.5837, allocations: 22.06 kB / 0.7837 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.5838, allocations: 2.656 kB / 0.7837 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006834/0.5845, allocations: 320.4 kB / 0.7841 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/0.5845, allocations: 10.28 kB / 0.7841 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.5845, allocations: 17.77 kB / 0.7841 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003928/0.5849, allocations: 194.9 kB / 0.7843 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.5849, allocations: 0.7031 kB / 0.7843 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.114e-06/0.585, allocations: 0 / 0.7843 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.585, allocations: 0 / 0.7843 GB, free: 12.05 MB / 0.5606 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.0006954/0.5857, allocations: 371.7 kB / 0.7846 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.5857, allocations: 10.84 kB / 0.7846 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.211e-05/0.5858, allocations: 30.75 kB / 0.7847 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004969/0.5863, allocations: 67.14 kB / 0.7847 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.5865, allocations: 174.9 kB / 0.7849 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.5865, allocations: 9.75 kB / 0.7849 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.5865, allocations: 1.719 kB / 0.7849 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.5868, allocations: 82.67 kB / 0.785 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.5869, allocations: 0 / 0.785 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.5869, allocations: 4.703 kB / 0.785 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.5869, allocations: 7.938 kB / 0.785 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.5873, allocations: 90.3 kB / 0.7851 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005654/0.5879, allocations: 290.1 kB / 0.7854 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.5883, allocations: 97.14 kB / 0.7854 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.5885, allocations: 55.31 kB / 0.7855 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.5886, allocations: 5.078 kB / 0.7855 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.5886, allocations: 36 kB / 0.7855 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.5886, allocations: 0 / 0.7855 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0007755/0.5894, allocations: 168.4 kB / 0.7857 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.5895, allocations: 53.72 kB / 0.7857 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.5896, allocations: 105.7 kB / 0.7859 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.5896, allocations: 25.7 kB / 0.7859 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/0.5896, allocations: 85.91 kB / 0.786 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.5897, allocations: 9.531 kB / 0.786 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.5897, allocations: 18.22 kB / 0.786 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5899, allocations: 317.2 kB / 0.7863 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.5901, allocations: 46.98 kB / 0.7863 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.5904, allocations: 45.52 kB / 0.7864 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004147/0.5908, allocations: 95 kB / 0.7865 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.5908, allocations: 0 / 0.7865 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004799/0.5913, allocations: 122.3 kB / 0.7866 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.5913, allocations: 6.547 kB / 0.7866 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.5913, allocations: 0 / 0.7866 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.5913, allocations: 0 / 0.7866 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.5915, allocations: 26.45 kB / 0.7866 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5915, allocations: 0 / 0.7866 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.5917, allocations: 17.03 kB / 0.7866 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.5917, allocations: 5.953 kB / 0.7866 GB, free: 10.19 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.291e-05/0.5918, allocations: 111.7 kB / 0.7867 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.5918, allocations: 5.125 kB / 0.7867 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.199e-05/0.5918, allocations: 4.797 kB / 0.7868 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.5919, allocations: 5.688 kB / 0.7868 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.5919, allocations: 0 / 0.7868 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5919, allocations: 0.7031 kB / 0.7868 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.5921, allocations: 172.2 kB / 0.7869 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.5921, allocations: 1.219 kB / 0.7869 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.5923, allocations: 20.47 kB / 0.7869 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.5923, allocations: 5.188 kB / 0.7869 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.5923, allocations: 4.453 kB / 0.787 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.5923, allocations: 1.922 kB / 0.787 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5923, allocations: 0 / 0.787 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005553/0.5929, allocations: 226.8 kB / 0.7872 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.5929, allocations: 78.98 kB / 0.7872 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.593, allocations: 1.281 kB / 0.7872 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.5931, allocations: 24.14 kB / 0.7873 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.5932, allocations: 3.469 kB / 0.7873 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.5932, allocations: 1.281 kB / 0.7873 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.549e-05/0.5933, allocations: 85.5 kB / 0.7874 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5933, allocations: 3.938 kB / 0.7874 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002652/0.5935, allocations: 16.03 kB / 0.7874 GB, free: 9.516 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009887/0.5945, allocations: 0.7628 MB / 0.7881 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005094/0.595, allocations: 96.02 kB / 0.7882 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5951, allocations: 0 / 0.7882 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.5953, allocations: 53.39 kB / 0.7883 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.5956, allocations: 11.06 kB / 0.7883 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007798/0.5964, allocations: 185.3 kB / 0.7884 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.5968, allocations: 0.6771 MB / 0.7891 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.381e-05/0.5969, allocations: 12.58 kB / 0.7891 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.5969, allocations: 13.83 kB / 0.7891 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.5969, allocations: 0 / 0.7891 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.6214, allocations: 1.694 MB / 0.7908 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.713/8.334, allocations: 8.984 kB / 0.7908 GB, free: 7.535 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)