Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6399/0.6399, allocations: 90.91 MB / 99.34 MB, free: 2.164 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 221.5 MB / 343.2 MB, free: 1.539 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008456/0.0008456, allocations: 94.94 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.374e-05/2.377e-05, allocations: 8 kB / 494.6 MB, free: 52.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1709, allocations: 72.3 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5279/0.6988, allocations: 102.3 MB / 0.6536 GB, free: 7.719 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/0.6992, allocations: 79.14 kB / 0.6536 GB, free: 7.676 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01713/0.7164, allocations: 5.495 MB / 0.659 GB, free: 3.082 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.7164, allocations: 0 / 0.659 GB, free: 3.082 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.7164, allocations: 4 kB / 0.659 GB, free: 3.078 MB / 458.7 MB 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.0006695/0.7171, allocations: 396.8 kB / 0.6594 GB, free: 2.652 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.373e-05/0.7172, allocations: 8.031 kB / 0.6594 GB, free: 2.645 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004234/0.7176, allocations: 75.78 kB / 0.6595 GB, free: 2.57 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.7178, allocations: 163 kB / 0.6596 GB, free: 2.371 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.729e-05/0.7178, allocations: 11.98 kB / 0.6596 GB, free: 2.359 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.7179, allocations: 4 kB / 0.6596 GB, free: 2.355 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001398/0.718, allocations: 38.36 kB / 0.6597 GB, free: 2.328 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.7182, allocations: 72.91 kB / 0.6597 GB, free: 2.262 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.635e-05/0.7183, allocations: 0 / 0.6597 GB, free: 2.262 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.7183, allocations: 0 / 0.6597 GB, free: 2.262 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.7183, allocations: 7.953 kB / 0.6597 GB, free: 2.254 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006939/0.719, allocations: 310 kB / 0.66 GB, free: 1.93 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.7192, allocations: 68.19 kB / 0.6601 GB, free: 1.871 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.468e-05/0.7192, allocations: 24.52 kB / 0.6601 GB, free: 1.848 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.7193, allocations: 7.938 kB / 0.6601 GB, free: 1.84 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.7193, allocations: 41.67 kB / 0.6602 GB, free: 1.793 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.7193, allocations: 0 / 0.6602 GB, free: 1.793 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.01307/0.7324, allocations: 2.111 MB / 0.6622 GB, free: 15.78 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.7325, allocations: 51.41 kB / 0.6623 GB, free: 15.72 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.85e-05/0.7326, allocations: 89.94 kB / 0.6624 GB, free: 15.62 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.402e-05/0.7327, allocations: 25.7 kB / 0.6624 GB, free: 15.59 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.576e-05/0.7328, allocations: 91.36 kB / 0.6625 GB, free: 15.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.637e-05/0.7329, allocations: 37.08 kB / 0.6625 GB, free: 15.47 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.7329, allocations: 3.938 kB / 0.6625 GB, free: 15.47 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.7331, allocations: 318.8 kB / 0.6628 GB, free: 15.15 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.7333, allocations: 115.6 kB / 0.6629 GB, free: 15.07 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.7335, allocations: 111 kB / 0.663 GB, free: 15 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002975/0.7338, allocations: 134.2 kB / 0.6632 GB, free: 14.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7338, allocations: 0 / 0.6632 GB, free: 14.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007091/0.7345, allocations: 343 kB / 0.6635 GB, free: 14.64 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.7346, allocations: 7.938 kB / 0.6635 GB, free: 14.63 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.7346, allocations: 0 / 0.6635 GB, free: 14.63 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.7346, allocations: 8 kB / 0.6635 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008482/0.7355, allocations: 115.8 kB / 0.6636 GB, free: 14.51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.7355, allocations: 0 / 0.6636 GB, free: 14.51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005906/0.7361, allocations: 55.94 kB / 0.6637 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.817e-05/0.7362, allocations: 23.94 kB / 0.6637 GB, free: 14.43 MB / 474.7 MB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001742/0.7363, allocations: 112.2 kB / 0.6638 GB, free: 14.32 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007165/0.7371, allocations: 318.3 kB / 0.6641 GB, free: 14.07 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.885e-05/0.7371, allocations: 7.906 kB / 0.6641 GB, free: 14.06 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.17e-05/0.7372, allocations: 15.34 kB / 0.6641 GB, free: 14.06 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.7372, allocations: 7.938 kB / 0.6641 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.7372, allocations: 0 / 0.6641 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.7372, allocations: 0 / 0.6641 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.7387, allocations: 0.8861 MB / 0.665 GB, free: 13.17 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.7387, allocations: 0 / 0.665 GB, free: 13.17 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008136/0.7395, allocations: 115.8 kB / 0.6651 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.7396, allocations: 0 / 0.6651 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.348e-05/0.7396, allocations: 27 kB / 0.6651 GB, free: 13.03 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.7396, allocations: 4 kB / 0.6651 GB, free: 13.03 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.7396, allocations: 0 / 0.6651 GB, free: 13.03 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.7407, allocations: 0.58 MB / 0.6657 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.7409, allocations: 124.4 kB / 0.6658 GB, free: 12.43 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.574e-05/0.7409, allocations: 0 / 0.6658 GB, free: 12.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006619/0.7416, allocations: 56 kB / 0.6659 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.231e-05/0.7417, allocations: 31.92 kB / 0.6659 GB, free: 12.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.326e-05/0.7418, allocations: 23.94 kB / 0.6659 GB, free: 12.32 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.593e-05/0.7418, allocations: 82.77 kB / 0.666 GB, free: 12.25 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7418, allocations: 0 / 0.666 GB, free: 12.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003887/0.7422, allocations: 55.94 kB / 0.6661 GB, free: 12.19 MB / 474.7 MB 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 () * 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 (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.001411/0.7436, allocations: 1.135 MB / 0.6672 GB, free: 11.17 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000493/0.7441, allocations: 256.6 kB / 0.6674 GB, free: 10.99 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.7441, allocations: 4 kB / 0.6674 GB, free: 10.99 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.7444, allocations: 144.1 kB / 0.6676 GB, free: 10.89 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.7446, allocations: 11.92 kB / 0.6676 GB, free: 10.88 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003743/0.7484, allocations: 0.7252 MB / 0.6683 GB, free: 10.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.7486, allocations: 0.6924 MB / 0.669 GB, free: 9.438 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006406/0.7493, allocations: 92.67 kB / 0.669 GB, free: 9.348 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/0.7495, allocations: 66.17 kB / 0.6691 GB, free: 9.289 MB / 474.7 MB Notification: Performance of SimCode: time 3.71e-07/0.7496, allocations: 0 / 0.6691 GB, free: 9.289 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02215/0.7717, allocations: 3.748 MB / 0.6728 GB, free: 5.543 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/0.772, allocations: 171.7 kB / 0.6729 GB, free: 5.34 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/2.455, allocations: 0 / 0.6729 GB, free: 5.34 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)