Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.564/2.564, allocations: 287.3 MB / 302.3 MB, free: 8.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001658/0.001658, allocations: 186.9 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.235/2.235, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002304/0.002304, allocations: 96.17 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005075/0.0005077, allocations: 17.17 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2221, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.00164/0.2238, allocations: 1.148 MB / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.2252, allocations: 0.7785 MB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.672e-05/0.2253, allocations: 3.938 kB / 0.9802 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.952e-05/0.2253, allocations: 0 / 0.9802 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.209e-05/0.2254, allocations: 8 kB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005245/0.2259, allocations: 91.73 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.471e-05/0.226, allocations: 23.97 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.565e-05/0.2261, allocations: 0 / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.004e-05/0.2262, allocations: 19.92 kB / 0.9803 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.727e-05/0.2263, allocations: 23.97 kB / 0.9803 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.2263, allocations: 0 / 0.9803 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005861/0.2269, allocations: 307.4 kB / 0.9806 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.2269, allocations: 8 kB / 0.9806 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.351e-05/0.2269, allocations: 25.7 kB / 0.9806 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.2273, allocations: 152 kB / 0.9808 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.2273, allocations: 0 / 0.9808 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2273, allocations: 0 / 0.9808 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.2273, allocations: 0 / 0.9808 GB, free: 25.68 MB / 0.6198 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.0005805/0.2279, allocations: 375.2 kB / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.228, allocations: 12.02 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.508e-05/0.228, allocations: 34.56 kB / 0.9812 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007355/0.2287, allocations: 83.86 kB / 0.9813 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.2289, allocations: 167 kB / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.2289, allocations: 8 kB / 0.9814 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.2289, allocations: 0 / 0.9814 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004635/0.2294, allocations: 97.62 kB / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2294, allocations: 0 / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.2295, allocations: 0 / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.2295, allocations: 3.984 kB / 0.9815 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000743/0.2302, allocations: 115.8 kB / 0.9817 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006645/0.2309, allocations: 304.8 kB / 0.9819 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006338/0.2316, allocations: 118.5 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.2316, allocations: 0 / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.2316, allocations: 30.56 kB / 0.9821 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.2316, allocations: 0 / 0.9821 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.001222/0.2329, allocations: 213.6 kB / 0.9823 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.2329, allocations: 51.41 kB / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.878e-05/0.233, allocations: 101.9 kB / 0.9824 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.233, allocations: 25.7 kB / 0.9825 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.2331, allocations: 84.12 kB / 0.9825 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.2331, allocations: 15.88 kB / 0.9826 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-06/0.2331, allocations: 0 / 0.9826 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.993e-05/0.2332, allocations: 314.8 kB / 0.9829 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/0.2336, allocations: 55.95 kB / 0.9829 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/0.234, allocations: 59.95 kB / 0.983 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003569/0.2343, allocations: 56.02 kB / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2344, allocations: 0 / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0007924/0.2352, allocations: 145.5 kB / 0.9832 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.2352, allocations: 8.031 kB / 0.9832 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2352, allocations: 0 / 0.9832 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.2352, allocations: 0 / 0.9832 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.2355, allocations: 31.95 kB / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.2355, allocations: 3.953 kB / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.2357, allocations: 27.97 kB / 0.9832 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.2358, allocations: 4 kB / 0.9832 GB, free: 22.96 MB / 0.6198 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 8.1e-05/0.2359, allocations: 115.8 kB / 0.9833 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.2359, allocations: 3.906 kB / 0.9833 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.859e-05/0.236, allocations: 7.125 kB / 0.9833 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.236, allocations: 256 / 0.9833 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.236, allocations: 4 kB / 0.9834 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.236, allocations: 7.953 kB / 0.9834 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.2362, allocations: 177.6 kB / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2362, allocations: 0 / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/0.2365, allocations: 27.97 kB / 0.9836 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.2365, allocations: 0 / 0.9836 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.2365, allocations: 0 / 0.9836 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/0.2366, allocations: 4 kB / 0.9836 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2366, allocations: 0 / 0.9836 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.2382, allocations: 251.3 kB / 0.9838 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.353e-05/0.2383, allocations: 77.11 kB / 0.9839 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.2383, allocations: 0 / 0.9839 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.2386, allocations: 23.97 kB / 0.9839 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/0.2386, allocations: 4 kB / 0.9839 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.2387, allocations: 8.016 kB / 0.9839 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.925e-05/0.2387, allocations: 87.28 kB / 0.984 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.91e-07/0.2387, allocations: 0 / 0.984 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003393/0.2391, allocations: 15.95 kB / 0.984 GB, free: 22.07 MB / 0.6198 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.001098/0.2402, allocations: 0.7826 MB / 0.9848 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007914/0.241, allocations: 119.9 kB / 0.9849 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.241, allocations: 0 / 0.9849 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003795/0.2414, allocations: 63.95 kB / 0.9849 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.2417, allocations: 17.95 kB / 0.985 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.2427, allocations: 211.2 kB / 0.9852 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.2429, allocations: 0.677 MB / 0.9858 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000128/0.243, allocations: 8 kB / 0.9858 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.699e-05/0.2431, allocations: 19.38 kB / 0.9859 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of SimCode: time 9.52e-07/0.2431, allocations: 0 / 0.9859 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/0.2646, allocations: 1.376 MB / 0.9872 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.2648, allocations: 196.8 kB / 0.9874 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.427/2.692, allocations: 0 / 0.9874 GB, free: 18.59 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)