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.001403/0.001403, allocations: 105.5 kB / 15.98 MB, free: 6.352 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.001427/0.001427, allocations: 191 kB / 16.91 MB, free: 6.195 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.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7418/0.7418, allocations: 115.3 MB / 406.1 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 63.89 kB / 493.2 MB, free: 0.5664 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4141, allocations: 76.18 MB / 0.556 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001635/0.4157, allocations: 0.8247 MB / 0.5568 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.417, allocations: 1.469 MB / 0.5583 GB, free: 33.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.463e-05/0.417, allocations: 0.9688 kB / 0.5583 GB, free: 33.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.565e-05/0.417, allocations: 0 / 0.5583 GB, free: 33.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.459e-05/0.4171, allocations: 3.938 kB / 0.5583 GB, free: 33.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.4175, allocations: 125.1 kB / 0.5584 GB, free: 33.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.313e-05/0.4175, allocations: 51.72 kB / 0.5585 GB, free: 33.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.723e-05/0.4176, allocations: 4.297 kB / 0.5585 GB, free: 33.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.54e-05/0.4176, allocations: 29.56 kB / 0.5585 GB, free: 33.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.761e-05/0.4177, allocations: 33.84 kB / 0.5585 GB, free: 33.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.4177, allocations: 5.656 kB / 0.5585 GB, free: 33.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003333/0.4181, allocations: 322.8 kB / 0.5588 GB, free: 33.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.4181, allocations: 19.02 kB / 0.5588 GB, free: 33.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.4181, allocations: 24.52 kB / 0.5589 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.4183, allocations: 203.6 kB / 0.5591 GB, free: 33.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.4184, allocations: 7.875 kB / 0.5591 GB, free: 33.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4184, allocations: 1.406 kB / 0.5591 GB, free: 33.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.4184, allocations: 0.875 kB / 0.5591 GB, free: 33.68 MB / 446.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.000479/0.4189, allocations: 399.7 kB / 0.5595 GB, free: 33.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.4189, allocations: 9.797 kB / 0.5595 GB, free: 33.29 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.485e-05/0.4189, allocations: 40.98 kB / 0.5595 GB, free: 33.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003921/0.4193, allocations: 78.2 kB / 0.5596 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.255e-05/0.4194, allocations: 165.5 kB / 0.5597 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.4194, allocations: 4.438 kB / 0.5597 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.4194, allocations: 9.062 kB / 0.5598 GB, free: 33.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.4198, allocations: 114.6 kB / 0.5599 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.4198, allocations: 5.375 kB / 0.5599 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.4198, allocations: 5.375 kB / 0.5599 GB, free: 32.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.4198, allocations: 1.688 kB / 0.5599 GB, free: 32.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000411/0.4202, allocations: 98.72 kB / 0.56 GB, free: 32.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004288/0.4207, allocations: 332.3 kB / 0.5603 GB, free: 32.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005569/0.4212, allocations: 159.3 kB / 0.5604 GB, free: 32.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.4214, allocations: 57.55 kB / 0.5605 GB, free: 32.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.4215, allocations: 0.5625 kB / 0.5605 GB, free: 32.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.225e-05/0.4215, allocations: 33.38 kB / 0.5605 GB, free: 32.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.4215, allocations: 1.438 kB / 0.5605 GB, free: 32.57 MB / 446.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.01738/0.4389, allocations: 2.833 MB / 0.5633 GB, free: 31.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.4389, allocations: 60.5 kB / 0.5633 GB, free: 31.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.116e-05/0.439, allocations: 105.7 kB / 0.5634 GB, free: 31.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.439, allocations: 26.8 kB / 0.5635 GB, free: 31.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.415e-05/0.4391, allocations: 86.44 kB / 0.5636 GB, free: 31.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.158e-05/0.4391, allocations: 52.25 kB / 0.5636 GB, free: 31.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.4393, allocations: 69.34 kB / 0.5637 GB, free: 31.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.4394, allocations: 313.9 kB / 0.564 GB, free: 31.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006105/0.44, allocations: 196.7 kB / 0.5642 GB, free: 31.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005989/0.4406, allocations: 188.9 kB / 0.5643 GB, free: 31.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.4418, allocations: 390.8 kB / 0.5647 GB, free: 30.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.4418, allocations: 4 kB / 0.5647 GB, free: 30.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001408/0.4432, allocations: 473.3 kB / 0.5652 GB, free: 30.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.4433, allocations: 9.25 kB / 0.5652 GB, free: 30.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4433, allocations: 2.812 kB / 0.5652 GB, free: 30.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.4433, allocations: 8.781 kB / 0.5652 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008093/0.4441, allocations: 114.2 kB / 0.5653 GB, free: 30.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.4441, allocations: 1.125 kB / 0.5653 GB, free: 30.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005959/0.4447, allocations: 46.27 kB / 0.5653 GB, free: 30.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-05/0.4448, allocations: 22.92 kB / 0.5654 GB, free: 30.79 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.4449, allocations: 117.9 kB / 0.5655 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.529e-05/0.445, allocations: 7.453 kB / 0.5655 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.445, allocations: 9.812 kB / 0.5655 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.4451, allocations: 6.484 kB / 0.5655 GB, free: 30.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4451, allocations: 4 kB / 0.5655 GB, free: 30.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4451, allocations: 1.719 kB / 0.5655 GB, free: 30.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/0.447, allocations: 1.043 MB / 0.5665 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.447, allocations: 0 / 0.5665 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008093/0.4478, allocations: 110.3 kB / 0.5666 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4478, allocations: 0.8438 kB / 0.5666 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-05/0.4479, allocations: 30.88 kB / 0.5667 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4479, allocations: 0 / 0.5667 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4479, allocations: 5 kB / 0.5667 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/0.45, allocations: 0.7864 MB / 0.5674 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.4501, allocations: 126.9 kB / 0.5676 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.24e-05/0.4502, allocations: 0.6562 kB / 0.5676 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006723/0.4509, allocations: 47.41 kB / 0.5676 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.912e-05/0.451, allocations: 28.06 kB / 0.5676 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.947e-05/0.4511, allocations: 31.72 kB / 0.5677 GB, free: 29.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.321e-05/0.4511, allocations: 84.45 kB / 0.5677 GB, free: 29.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4511, allocations: 0 / 0.5677 GB, free: 29.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003503/0.4514, allocations: 54.77 kB / 0.5678 GB, free: 29.44 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 (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.00225/0.4537, allocations: 1.337 MB / 0.5691 GB, free: 28.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.4551, allocations: 433.4 kB / 0.5695 GB, free: 28.51 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4551, allocations: 0 / 0.5695 GB, free: 28.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006715/0.4557, allocations: 226.3 kB / 0.5697 GB, free: 28.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.4561, allocations: 12.75 kB / 0.5697 GB, free: 28.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007742/0.4638, allocations: 2.957 MB / 0.5726 GB, free: 26.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.16e-05/0.4639, allocations: 0.699 MB / 0.5733 GB, free: 26.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006128/0.4645, allocations: 88.94 kB / 0.5734 GB, free: 26.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002588/0.4648, allocations: 64 kB / 0.5735 GB, free: 26.08 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4648, allocations: 0 / 0.5735 GB, free: 26.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.979/1.444, allocations: 4.45 MB / 0.5778 GB, free: 24.57 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/1.444, allocations: 233.1 kB / 0.578 GB, free: 24.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/3.322, allocations: 0 / 0.578 GB, free: 24.3 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/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)