Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002405/0.002405, allocations: 218.3 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.577/1.577, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9142/0.9142, allocations: 145 MB / 458.2 MB, free: 15.52 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 62.36 kB / 0.634 GB, free: 7.27 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1905, allocations: 87.89 MB / 0.7198 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002076/0.1926, allocations: 0.7922 MB / 0.7206 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002118/0.1947, allocations: 1.549 MB / 0.7221 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.1948, allocations: 0 / 0.7221 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.953e-05/0.1948, allocations: 0 / 0.7221 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.197e-05/0.1948, allocations: 3.938 kB / 0.7221 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005343/0.1954, allocations: 147.5 kB / 0.7222 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.1955, allocations: 59.58 kB / 0.7223 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.1955, allocations: 0 / 0.7223 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.797e-05/0.1956, allocations: 27.92 kB / 0.7223 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.241e-05/0.1957, allocations: 39.88 kB / 0.7224 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.1957, allocations: 8 kB / 0.7224 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004718/0.1962, allocations: 315.4 kB / 0.7227 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.484e-05/0.1962, allocations: 19.91 kB / 0.7227 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.249e-05/0.1962, allocations: 23.86 kB / 0.7227 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.1966, allocations: 203.4 kB / 0.7229 GB, free: 12.19 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1966, allocations: 0 / 0.7229 GB, free: 12.19 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1966, allocations: 0 / 0.7229 GB, free: 12.19 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.1966, allocations: 0 / 0.7229 GB, free: 12.19 MB / 0.545 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.0007174/0.1973, allocations: 337.8 kB / 0.7232 GB, free: 11.83 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.1974, allocations: 12.03 kB / 0.7232 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.3e-05/0.1974, allocations: 192 / 0.7232 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.668e-05/0.1974, allocations: 46.67 kB / 0.7233 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004489/0.1979, allocations: 68.81 kB / 0.7233 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.198, allocations: 110.5 kB / 0.7235 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.198, allocations: 8.375 kB / 0.7235 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.198, allocations: 8.375 kB / 0.7235 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003829/0.1984, allocations: 113.5 kB / 0.7236 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1984, allocations: 4 kB / 0.7236 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.1984, allocations: 0 / 0.7236 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1985, allocations: 0 / 0.7236 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005172/0.199, allocations: 107.8 kB / 0.7237 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006069/0.1996, allocations: 299.8 kB / 0.724 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006886/0.2003, allocations: 158.4 kB / 0.7241 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002474/0.2005, allocations: 56.75 kB / 0.7242 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.2005, allocations: 4 kB / 0.7242 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.2006, allocations: 34.56 kB / 0.7242 GB, free: 10.72 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 3.366e-06/0.2006, allocations: 3.984 kB / 0.7242 GB, free: 10.71 MB / 0.545 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.01863/0.2192, allocations: 2.683 MB / 0.7268 GB, free: 7.973 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.2193, allocations: 51.41 kB / 0.7269 GB, free: 7.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.901e-05/0.2194, allocations: 105.8 kB / 0.727 GB, free: 7.797 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.008e-05/0.2194, allocations: 29.7 kB / 0.727 GB, free: 7.762 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.801e-05/0.2195, allocations: 92.08 kB / 0.7271 GB, free: 7.668 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.293e-05/0.2196, allocations: 39.62 kB / 0.7271 GB, free: 7.629 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.2197, allocations: 69.58 kB / 0.7272 GB, free: 7.555 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.2199, allocations: 318.8 kB / 0.7275 GB, free: 7.234 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007016/0.2206, allocations: 199.7 kB / 0.7277 GB, free: 7.039 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006909/0.2213, allocations: 190.4 kB / 0.7279 GB, free: 6.855 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.2227, allocations: 392.7 kB / 0.7283 GB, free: 6.469 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2227, allocations: 0 / 0.7283 GB, free: 6.469 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00166/0.2244, allocations: 477.2 kB / 0.7287 GB, free: 5.996 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.2244, allocations: 9.875 kB / 0.7287 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.2244, allocations: 0 / 0.7287 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.2244, allocations: 3.938 kB / 0.7287 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008376/0.2252, allocations: 111.7 kB / 0.7288 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.2253, allocations: 5.016 kB / 0.7288 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006032/0.2259, allocations: 47.94 kB / 0.7289 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.137e-05/0.2259, allocations: 27.88 kB / 0.7289 GB, free: 5.797 MB / 0.545 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.0001856/0.2261, allocations: 109.8 kB / 0.729 GB, free: 5.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.62e-05/0.2262, allocations: 7.953 kB / 0.729 GB, free: 5.672 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.179e-05/0.2263, allocations: 16.06 kB / 0.729 GB, free: 5.652 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.2263, allocations: 7.922 kB / 0.729 GB, free: 5.645 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.2263, allocations: 0 / 0.729 GB, free: 5.645 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.2263, allocations: 0 / 0.729 GB, free: 5.645 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00246/0.2287, allocations: 1.015 MB / 0.73 GB, free: 4.527 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.2287, allocations: 3.938 kB / 0.73 GB, free: 4.523 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008321/0.2296, allocations: 103.8 kB / 0.7301 GB, free: 4.422 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.2296, allocations: 0 / 0.7301 GB, free: 4.422 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.902e-05/0.2296, allocations: 23.92 kB / 0.7302 GB, free: 4.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.2296, allocations: 7.938 kB / 0.7302 GB, free: 4.391 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2296, allocations: 0 / 0.7302 GB, free: 4.391 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002508/0.2321, allocations: 0.7906 MB / 0.7309 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.2323, allocations: 55.75 kB / 0.731 GB, free: 3.531 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.379e-05/0.2324, allocations: 4 kB / 0.731 GB, free: 3.527 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006601/0.233, allocations: 48 kB / 0.731 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.2331, allocations: 27.92 kB / 0.7311 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-05/0.2332, allocations: 19.94 kB / 0.7311 GB, free: 3.434 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.178e-05/0.2333, allocations: 87.27 kB / 0.7312 GB, free: 3.348 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2333, allocations: 0 / 0.7312 GB, free: 3.348 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004103/0.2337, allocations: 56 kB / 0.7312 GB, free: 3.293 MB / 0.545 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.003061/0.2367, allocations: 1.345 MB / 0.7325 GB, free: 1.922 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001539/0.2383, allocations: 415.6 kB / 0.7329 GB, free: 1.516 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2383, allocations: 0 / 0.7329 GB, free: 1.516 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007667/0.239, allocations: 227.6 kB / 0.7332 GB, free: 1.293 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.2395, allocations: 14.23 kB / 0.7332 GB, free: 1.281 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009048/0.2485, allocations: 2.943 MB / 0.736 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.2489, allocations: 0.6969 MB / 0.7367 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000507/0.2494, allocations: 92.73 kB / 0.7368 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002892/0.2497, allocations: 67.3 kB / 0.7369 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of SimCode: time 6.62e-07/0.2497, allocations: 8 kB / 0.7369 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/0.2769, allocations: 4.813 MB / 0.7416 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.37, allocations: 8.844 kB / 0.7416 GB, free: 8.695 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.647346655023284] Failed to read output from testmodel.py, exit status != 0: 11.536891327938065 11.913601457 11.713638247 Calling exit ...