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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 96.03 kB / 15.69 MB, free: 484 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.002144/0.002144, allocations: 176.1 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.223/2.223, allocations: 223.2 MB / 240.5 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.116/1.116, allocations: 113.7 MB / 405.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005798/0.0005799, allocations: 13.41 kB / 493 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2259, allocations: 77.12 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001401/0.2274, allocations: 494.2 kB / 0.5572 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002858/0.2303, allocations: 1.401 MB / 0.5586 GB, free: 9.816 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/0.2303, allocations: 0 / 0.5586 GB, free: 9.816 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.806e-05/0.2304, allocations: 0 / 0.5586 GB, free: 9.816 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.21e-05/0.2305, allocations: 8 kB / 0.5586 GB, free: 9.809 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006401/0.2311, allocations: 107.7 kB / 0.5587 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.2312, allocations: 31.91 kB / 0.5587 GB, free: 9.672 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.747e-05/0.2313, allocations: 0 / 0.5587 GB, free: 9.672 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.2314, allocations: 39.89 kB / 0.5588 GB, free: 9.633 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.335e-05/0.2315, allocations: 27.91 kB / 0.5588 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.2316, allocations: 4 kB / 0.5588 GB, free: 9.602 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007921/0.2324, allocations: 311.5 kB / 0.5591 GB, free: 9.297 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.232e-05/0.2324, allocations: 11.92 kB / 0.5591 GB, free: 9.285 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.2325, allocations: 33.7 kB / 0.5591 GB, free: 9.246 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003893/0.2329, allocations: 148.1 kB / 0.5593 GB, free: 9.102 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2329, allocations: 0 / 0.5593 GB, free: 9.102 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2329, allocations: 0 / 0.5593 GB, free: 9.102 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.2329, allocations: 0 / 0.5593 GB, free: 9.102 MB / 430.1 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.000873/0.2338, allocations: 395.2 kB / 0.5596 GB, free: 8.668 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.2339, allocations: 15.97 kB / 0.5597 GB, free: 8.652 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.724e-05/0.234, allocations: 38.48 kB / 0.5597 GB, free: 8.605 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000816/0.2348, allocations: 83.83 kB / 0.5598 GB, free: 8.523 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.235, allocations: 179 kB / 0.56 GB, free: 8.309 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/0.235, allocations: 7.938 kB / 0.56 GB, free: 8.301 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.2351, allocations: 8 kB / 0.56 GB, free: 8.293 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006273/0.2357, allocations: 117.6 kB / 0.5601 GB, free: 8.172 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.2358, allocations: 0 / 0.5601 GB, free: 8.172 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/0.2358, allocations: 8 kB / 0.5601 GB, free: 8.164 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.2358, allocations: 0 / 0.5601 GB, free: 8.164 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009276/0.2368, allocations: 131.8 kB / 0.5602 GB, free: 8.035 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009557/0.2377, allocations: 332.6 kB / 0.5605 GB, free: 7.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.239, allocations: 190.4 kB / 0.5607 GB, free: 7.465 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.2391, allocations: 3.984 kB / 0.5607 GB, free: 7.461 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.2391, allocations: 30.56 kB / 0.5607 GB, free: 7.422 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 2.365e-06/0.2391, allocations: 0 / 0.5607 GB, free: 7.422 MB / 430.1 MB 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.03675/0.2759, allocations: 3.186 MB / 0.5639 GB, free: 4.141 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.749e-05/0.2761, allocations: 51.41 kB / 0.5639 GB, free: 4.078 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.2762, allocations: 101.8 kB / 0.564 GB, free: 3.969 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.2763, allocations: 29.7 kB / 0.564 GB, free: 3.934 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.8e-05/0.2765, allocations: 88.08 kB / 0.5641 GB, free: 3.844 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.2766, allocations: 39.45 kB / 0.5642 GB, free: 3.805 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.626e-05/0.2767, allocations: 4 kB / 0.5642 GB, free: 3.801 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.2769, allocations: 318.8 kB / 0.5645 GB, free: 3.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.2783, allocations: 219.7 kB / 0.5647 GB, free: 3.266 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/0.2796, allocations: 215.8 kB / 0.5649 GB, free: 3.055 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.281, allocations: 227.7 kB / 0.5651 GB, free: 2.836 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.281, allocations: 0 / 0.5651 GB, free: 2.836 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.003022/0.2841, allocations: 0.5129 MB / 0.5656 GB, free: 2.316 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.2841, allocations: 8 kB / 0.5656 GB, free: 2.309 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.2842, allocations: 3.984 kB / 0.5656 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.2842, allocations: 0 / 0.5656 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.2857, allocations: 119.7 kB / 0.5657 GB, free: 2.188 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.2858, allocations: 4 kB / 0.5657 GB, free: 2.184 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.2869, allocations: 55.94 kB / 0.5658 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.2871, allocations: 27.92 kB / 0.5658 GB, free: 2.102 MB / 430.1 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002684/0.2874, allocations: 117.8 kB / 0.5659 GB, free: 1.977 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.2875, allocations: 11.91 kB / 0.5659 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.2876, allocations: 7.969 kB / 0.5659 GB, free: 1.957 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.2876, allocations: 4 kB / 0.5659 GB, free: 1.953 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.2877, allocations: 0 / 0.5659 GB, free: 1.953 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2877, allocations: 96 / 0.5659 GB, free: 1.953 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004623/0.2923, allocations: 1.109 MB / 0.567 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.2924, allocations: 0 / 0.567 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/0.2939, allocations: 119.8 kB / 0.5671 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.616e-05/0.294, allocations: 4 kB / 0.5671 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.955e-05/0.2941, allocations: 23.92 kB / 0.5672 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.2941, allocations: 0 / 0.5672 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.2941, allocations: 3.953 kB / 0.5672 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004806/0.2989, allocations: 0.8763 MB / 0.568 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003122/0.2993, allocations: 113 kB / 0.5681 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.2994, allocations: 8.047 kB / 0.5681 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/0.3007, allocations: 59.94 kB / 0.5682 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.3009, allocations: 31.88 kB / 0.5682 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.006e-05/0.301, allocations: 23.94 kB / 0.5682 GB, free: 15.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.053e-05/0.3011, allocations: 83.27 kB / 0.5683 GB, free: 15.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3011, allocations: 0 / 0.5683 GB, free: 15.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007608/0.3018, allocations: 48 kB / 0.5684 GB, free: 15.31 MB / 446.1 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 () * 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 (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.005412/0.3073, allocations: 1.415 MB / 0.5698 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002939/0.3103, allocations: 471.6 kB / 0.5702 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.3103, allocations: 0 / 0.5702 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001468/0.3118, allocations: 251.7 kB / 0.5704 GB, free: 13.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.3122, allocations: 9.719 kB / 0.5705 GB, free: 13.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/0.3254, allocations: 1.866 MB / 0.5723 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.3258, allocations: 0.6926 MB / 0.573 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001502/0.3274, allocations: 104.8 kB / 0.5731 GB, free: 10.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004952/0.3279, allocations: 64.61 kB / 0.5731 GB, free: 10.36 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3279, allocations: 3.938 kB / 0.5731 GB, free: 10.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1444/0.4723, allocations: 4.122 MB / 0.5771 GB, free: 6.41 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003585/0.4727, allocations: 200 kB / 0.5773 GB, free: 6.164 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.657/4.13, allocations: 0 / 0.5773 GB, free: 6.164 MB / 446.1 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) Environment - environmentSimulation: