Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_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.001695/0.001695, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 200.2 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.1 MB / 222.5 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.687/1.687, allocations: 292.3 MB / 0.549 GB, free: 12.78 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 68.28 kB / 0.6718 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2182, allocations: 114.6 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002782/0.221, allocations: 1.432 MB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.2223, allocations: 0.8361 MB / 0.7859 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.337e-05/0.2223, allocations: 0 / 0.7859 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.538e-05/0.2224, allocations: 0 / 0.7859 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.908e-05/0.2225, allocations: 3.938 kB / 0.7859 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/0.2229, allocations: 127.5 kB / 0.786 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.145e-05/0.223, allocations: 43.84 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.969e-05/0.2231, allocations: 4 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.714e-05/0.2232, allocations: 11.98 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.028e-05/0.2232, allocations: 23.91 kB / 0.7861 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.2232, allocations: 4 kB / 0.7861 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004276/0.2237, allocations: 323.3 kB / 0.7864 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.2237, allocations: 11.94 kB / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.2237, allocations: 11.92 kB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.224, allocations: 203.8 kB / 0.7866 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.224, allocations: 0 / 0.7866 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.312e-06/0.224, allocations: 0 / 0.7866 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2241, allocations: 0 / 0.7866 GB, free: 10.24 MB / 0.6075 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.0004994/0.2246, allocations: 367.5 kB / 0.7869 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.2246, allocations: 8.031 kB / 0.7869 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.139e-05/0.2247, allocations: 38.73 kB / 0.787 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004309/0.2251, allocations: 64.86 kB / 0.787 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.2252, allocations: 176.2 kB / 0.7872 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.2253, allocations: 384 / 0.7872 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.2253, allocations: 12.3 kB / 0.7872 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.2256, allocations: 85.75 kB / 0.7873 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2256, allocations: 0 / 0.7873 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.2256, allocations: 0 / 0.7873 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2256, allocations: 0 / 0.7873 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003985/0.226, allocations: 91.91 kB / 0.7874 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/0.2265, allocations: 300.8 kB / 0.7877 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003506/0.2269, allocations: 98.44 kB / 0.7878 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.2271, allocations: 52.88 kB / 0.7878 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.2271, allocations: 0 / 0.7878 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.2271, allocations: 34.56 kB / 0.7879 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2271, allocations: 0 / 0.7879 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000677/0.2278, allocations: 169.5 kB / 0.788 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.2279, allocations: 51.41 kB / 0.7881 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.612e-05/0.2279, allocations: 105.8 kB / 0.7882 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.228, allocations: 25.7 kB / 0.7882 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/0.228, allocations: 84.27 kB / 0.7883 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.228, allocations: 7.906 kB / 0.7883 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.2281, allocations: 17.72 kB / 0.7883 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.373e-05/0.2282, allocations: 318.8 kB / 0.7886 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.2284, allocations: 39.95 kB / 0.7886 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.2286, allocations: 51.95 kB / 0.7887 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.2289, allocations: 88.83 kB / 0.7888 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.2289, allocations: 0 / 0.7888 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004168/0.2294, allocations: 125.5 kB / 0.7889 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.2294, allocations: 4 kB / 0.7889 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2294, allocations: 0 / 0.7889 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.2294, allocations: 7.969 kB / 0.7889 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.2296, allocations: 23.97 kB / 0.7889 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2296, allocations: 0 / 0.7889 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.2297, allocations: 19.92 kB / 0.7889 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.2297, allocations: 3.984 kB / 0.789 GB, free: 7.586 MB / 0.6075 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 7.262e-05/0.2298, allocations: 117.8 kB / 0.7891 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.2298, allocations: 4 kB / 0.7891 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.2299, allocations: 3.125 kB / 0.7891 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.2299, allocations: 0 / 0.7891 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2299, allocations: 0 / 0.7891 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2299, allocations: 0 / 0.7891 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.2301, allocations: 173.6 kB / 0.7892 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2301, allocations: 3.938 kB / 0.7892 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.2302, allocations: 27.97 kB / 0.7893 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2302, allocations: 0 / 0.7893 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/0.2302, allocations: 0 / 0.7893 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2303, allocations: 0 / 0.7893 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2303, allocations: 0 / 0.7893 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004654/0.2307, allocations: 223.3 kB / 0.7895 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.661e-05/0.2308, allocations: 85.02 kB / 0.7896 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.2308, allocations: 256 / 0.7896 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.2309, allocations: 24 kB / 0.7896 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.231, allocations: 8 kB / 0.7896 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.231, allocations: 0 / 0.7896 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.474e-05/0.2311, allocations: 83.27 kB / 0.7897 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2311, allocations: 0 / 0.7897 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002402/0.2313, allocations: 16 kB / 0.7897 GB, free: 6.738 MB / 0.6075 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.0007711/0.2321, allocations: 0.7592 MB / 0.7904 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004401/0.2325, allocations: 99.86 kB / 0.7905 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2325, allocations: 0 / 0.7905 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.2328, allocations: 52.02 kB / 0.7906 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.2331, allocations: 4.938 kB / 0.7906 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006999/0.2338, allocations: 199.1 kB / 0.7908 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.234, allocations: 0.6768 MB / 0.7914 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.694e-05/0.2341, allocations: 8 kB / 0.7914 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.397e-05/0.2341, allocations: 11.44 kB / 0.7914 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.2341, allocations: 0 / 0.7914 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.2512, allocations: 1.678 MB / 0.7931 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.106/7.357, allocations: 8 kB / 0.7931 GB, free: 3.242 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)