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.0009251/0.0009251, allocations: 90.75 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.001149/0.001149, 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 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.708/1.708, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.0005042/0.0005042, allocations: 17.88 kB / 0.6738 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2493, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001442/0.2508, allocations: 1.152 MB / 0.7885 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.2519, allocations: 0.7863 MB / 0.7893 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.305e-05/0.252, allocations: 0 / 0.7893 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.201e-05/0.252, allocations: 0 / 0.7893 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.84e-05/0.252, allocations: 3.938 kB / 0.7893 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.2524, allocations: 95.69 kB / 0.7894 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.394e-05/0.2524, allocations: 31.91 kB / 0.7894 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.185e-05/0.2525, allocations: 4 kB / 0.7894 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.115e-05/0.2526, allocations: 11.98 kB / 0.7894 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.542e-05/0.2526, allocations: 19.91 kB / 0.7894 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.2526, allocations: 4 kB / 0.7894 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004131/0.2531, allocations: 303.4 kB / 0.7897 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.2531, allocations: 3.984 kB / 0.7897 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.2531, allocations: 33.7 kB / 0.7898 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.2533, allocations: 147.9 kB / 0.7899 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2533, allocations: 0 / 0.7899 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2533, allocations: 0 / 0.7899 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.2533, allocations: 0 / 0.7899 GB, free: 9.254 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.000452/0.2538, allocations: 371.3 kB / 0.7903 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2538, allocations: 11.97 kB / 0.7903 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.589e-05/0.2539, allocations: 38.55 kB / 0.7903 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003964/0.2543, allocations: 75.92 kB / 0.7904 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.2544, allocations: 175 kB / 0.7906 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.2544, allocations: 4 kB / 0.7906 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.2544, allocations: 7.984 kB / 0.7906 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.2547, allocations: 89.62 kB / 0.7907 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.2547, allocations: 4 kB / 0.7907 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.2548, allocations: 4 kB / 0.7907 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.2548, allocations: 0 / 0.7907 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003672/0.2551, allocations: 111.9 kB / 0.7908 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/0.2556, allocations: 312.7 kB / 0.7911 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.256, allocations: 114.5 kB / 0.7912 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.2562, allocations: 64.88 kB / 0.7912 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.2562, allocations: 0 / 0.7912 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.2562, allocations: 30.56 kB / 0.7913 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.2562, allocations: 0 / 0.7913 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0006625/0.2569, allocations: 209.6 kB / 0.7915 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.2569, allocations: 55.36 kB / 0.7915 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8e-05/0.257, allocations: 109.8 kB / 0.7916 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.2571, allocations: 25.7 kB / 0.7916 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.2571, allocations: 80.14 kB / 0.7917 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.2571, allocations: 7.906 kB / 0.7917 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.2571, allocations: 0 / 0.7917 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.2572, allocations: 314.8 kB / 0.792 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.2574, allocations: 59.97 kB / 0.7921 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.2576, allocations: 59.95 kB / 0.7921 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.2578, allocations: 56.02 kB / 0.7922 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2578, allocations: 0 / 0.7922 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003996/0.2582, allocations: 149.5 kB / 0.7923 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2582, allocations: 4 kB / 0.7923 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2583, allocations: 0 / 0.7923 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.2583, allocations: 0 / 0.7923 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.2584, allocations: 32 kB / 0.7924 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2584, allocations: 3.953 kB / 0.7924 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.929e-05/0.2585, allocations: 19.98 kB / 0.7924 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.2586, allocations: 4 kB / 0.7924 GB, free: 6.477 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.903e-05/0.2586, allocations: 121.8 kB / 0.7925 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.2587, allocations: 3.906 kB / 0.7925 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.2587, allocations: 7.125 kB / 0.7925 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2587, allocations: 0 / 0.7925 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2587, allocations: 0 / 0.7925 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.2587, allocations: 3.953 kB / 0.7925 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.2589, allocations: 173.6 kB / 0.7927 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2589, allocations: 0 / 0.7927 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.259, allocations: 31.97 kB / 0.7927 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.259, allocations: 0 / 0.7927 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.2591, allocations: 0 / 0.7927 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2591, allocations: 0 / 0.7927 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2591, allocations: 0 / 0.7927 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004461/0.2595, allocations: 251.3 kB / 0.793 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.2596, allocations: 77.36 kB / 0.793 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.2596, allocations: 0 / 0.793 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.2597, allocations: 32 kB / 0.7931 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.2598, allocations: 7.938 kB / 0.7931 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.2598, allocations: 0 / 0.7931 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.337e-05/0.2598, allocations: 87.27 kB / 0.7932 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2598, allocations: 0 / 0.7932 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002316/0.2601, allocations: 16 kB / 0.7932 GB, free: 5.586 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 (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.0007603/0.2608, allocations: 0.7865 MB / 0.7939 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004209/0.2613, allocations: 119.9 kB / 0.7941 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2613, allocations: 4 kB / 0.7941 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.2615, allocations: 56.02 kB / 0.7941 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.2618, allocations: 12.06 kB / 0.7941 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006548/0.2624, allocations: 202.3 kB / 0.7943 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.2627, allocations: 0.677 MB / 0.795 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.01e-05/0.2628, allocations: 15.94 kB / 0.795 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.2629, allocations: 15.42 kB / 0.795 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2629, allocations: 0 / 0.795 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01127/0.2741, allocations: 1.395 MB / 0.7964 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.2744, allocations: 195 kB / 0.7966 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.138, allocations: 3.75 kB / 0.7966 GB, free: 2.102 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/linux/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) Environment - environmentSimulation: