Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 110.6 kB / 16.41 MB, free: 6.496 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.001147/0.001147, allocations: 187 kB / 17.34 MB, free: 5.762 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.197/2.197, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.91 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9482/0.9495, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002154/0.9517, allocations: 0.7812 MB / 1.089 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001989/0.9537, allocations: 1.477 MB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.817e-05/0.9538, allocations: 0 / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.333e-05/0.9539, allocations: 8.594 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.114e-05/0.9539, allocations: 1.406 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005833/0.9545, allocations: 136.3 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.9546, allocations: 67.81 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.879e-05/0.9547, allocations: 4.953 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.946e-05/0.9548, allocations: 23.09 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.382e-05/0.9549, allocations: 31.38 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.9549, allocations: 7.984 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005833/0.9555, allocations: 317.3 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.59e-05/0.9555, allocations: 18.56 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.678e-05/0.9556, allocations: 26.34 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004128/0.956, allocations: 212.3 kB / 1.092 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.956, allocations: 0.8438 kB / 1.092 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.835e-06/0.956, allocations: 4 kB / 1.092 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.956, allocations: 0 / 1.092 GB, free: 3.648 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006634/0.9567, allocations: 400 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.9568, allocations: 9.656 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004789/0.9572, allocations: 71.95 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.722e-05/0.9573, allocations: 174 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.9574, allocations: 7.594 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.9574, allocations: 9.094 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.9578, allocations: 111 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.9578, allocations: 1.141 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.9579, allocations: 1.281 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.9579, allocations: 1.219 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005011/0.9584, allocations: 106.3 kB / 1.093 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005909/0.959, allocations: 335 kB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006764/0.9597, allocations: 155 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.9599, allocations: 54.83 kB / 1.093 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.96, allocations: 5.469 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.96, allocations: 31.97 kB / 1.093 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.96, allocations: 4.625 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01851/0.9785, allocations: 2.832 MB / 1.096 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.9786, allocations: 65.69 kB / 1.096 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.344e-05/0.9787, allocations: 97.11 kB / 1.096 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/0.9787, allocations: 29.7 kB / 1.096 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.9788, allocations: 88.09 kB / 1.096 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.853e-05/0.9788, allocations: 39.25 kB / 1.096 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.979, allocations: 73.17 kB / 1.096 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.55e-05/0.9791, allocations: 318.6 kB / 1.097 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007106/0.9798, allocations: 200.2 kB / 1.097 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006636/0.9805, allocations: 193.1 kB / 1.097 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.9819, allocations: 398.7 kB / 1.097 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.9819, allocations: 4 kB / 1.097 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001621/0.9835, allocations: 469.7 kB / 1.098 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.9835, allocations: 4.781 kB / 1.098 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.9836, allocations: 1.125 kB / 1.098 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.9836, allocations: 0.5625 kB / 1.098 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008363/0.9844, allocations: 110.6 kB / 1.098 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.9844, allocations: 5.641 kB / 1.098 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005726/0.985, allocations: 49.5 kB / 1.098 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-05/0.9851, allocations: 23.72 kB / 1.098 GB, free: 0.7031 MB / 0.8575 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 (13): * Single equations (assignments): 13 * 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 0.0001451/0.9852, allocations: 114.6 kB / 1.098 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.324e-05/0.9853, allocations: 6.094 kB / 1.098 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.473e-05/0.9854, allocations: 13.92 kB / 1.098 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.9854, allocations: 2.984 kB / 1.098 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.9854, allocations: 8.125 kB / 1.098 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.9854, allocations: 0.6562 kB / 1.098 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/0.9876, allocations: 1.043 MB / 1.099 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.9876, allocations: 0 / 1.099 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008166/0.9885, allocations: 109.6 kB / 1.099 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.9885, allocations: 5.688 kB / 1.099 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.545e-05/0.9886, allocations: 21.92 kB / 1.099 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.9886, allocations: 1.734 kB / 1.099 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.9886, allocations: 0 / 1.099 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/0.9911, allocations: 0.7921 MB / 1.1 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.9913, allocations: 117.4 kB / 1.1 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.151e-05/0.9914, allocations: 5.5 kB / 1.1 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006677/0.992, allocations: 47.81 kB / 1.1 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.9922, allocations: 29.66 kB / 1.1 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.431e-05/0.9922, allocations: 23.06 kB / 1.1 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.428e-05/0.9923, allocations: 88.28 kB / 1.1 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2e-07/0.9923, allocations: 1.094 kB / 1.1 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004306/0.9927, allocations: 54.91 kB / 1.1 GB, free: 15.35 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002645/0.993, allocations: 114.8 kB / 1.1 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001566/0.9946, allocations: 419.8 kB / 1.101 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.9946, allocations: 5.469 kB / 1.101 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008211/0.9954, allocations: 225.5 kB / 1.101 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.9959, allocations: 10.61 kB / 1.101 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00468/1.001, allocations: 0.7771 MB / 1.102 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/1.001, allocations: 0.695 MB / 1.103 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004424/1.001, allocations: 75.45 kB / 1.103 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of SimCode: time 2.214e-06/1.001, allocations: 1.344 kB / 1.103 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of Templates: time 0.007714/1.009, allocations: 3.794 MB / 1.106 GB, free: 13.93 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)