Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",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.001098/0.001099, allocations: 105.4 kB / 15.98 MB, free: 6.363 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.0009516/0.0009516, allocations: 194.8 kB / 16.91 MB, free: 6.199 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.395/1.395, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7237/0.7237, allocations: 115.3 MB / 406.1 MB, free: 6.293 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 71.89 kB / 493.2 MB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4124, allocations: 76.18 MB / 0.556 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001856/0.4143, allocations: 0.6467 MB / 0.5567 GB, free: 35.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.4159, allocations: 1.448 MB / 0.5581 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.071e-05/0.416, allocations: 0.625 kB / 0.5581 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.416, allocations: 0 / 0.5581 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3e-05/0.416, allocations: 0.7812 kB / 0.5581 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004873/0.4165, allocations: 121.4 kB / 0.5582 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.904e-05/0.4166, allocations: 25.61 kB / 0.5582 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/0.4167, allocations: 3.75 kB / 0.5582 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.17e-05/0.4167, allocations: 13.88 kB / 0.5582 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.502e-05/0.4168, allocations: 31.28 kB / 0.5583 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.4168, allocations: 3.375 kB / 0.5583 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004617/0.4173, allocations: 317.8 kB / 0.5586 GB, free: 34.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.4173, allocations: 10.94 kB / 0.5586 GB, free: 34.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.284e-05/0.4174, allocations: 14.64 kB / 0.5586 GB, free: 34.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.4177, allocations: 186.6 kB / 0.5588 GB, free: 34.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4177, allocations: 1.312 kB / 0.5588 GB, free: 34.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4177, allocations: 4.938 kB / 0.5588 GB, free: 34.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.4177, allocations: 0 / 0.5588 GB, free: 34.71 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005045/0.4182, allocations: 362.1 kB / 0.5591 GB, free: 34.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.4183, allocations: 10.06 kB / 0.5591 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.015e-05/0.4183, allocations: 36.61 kB / 0.5592 GB, free: 34.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000471/0.4188, allocations: 75.27 kB / 0.5592 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.671e-05/0.4189, allocations: 163.1 kB / 0.5594 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.4189, allocations: 2.719 kB / 0.5594 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.4189, allocations: 1.656 kB / 0.5594 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.4192, allocations: 79.91 kB / 0.5595 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.4192, allocations: 0 / 0.5595 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.4192, allocations: 4.562 kB / 0.5595 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.4193, allocations: 3.062 kB / 0.5595 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002921/0.4196, allocations: 67.09 kB / 0.5596 GB, free: 34.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.4197, allocations: 164.9 kB / 0.5597 GB, free: 33.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005917/0.4203, allocations: 121.1 kB / 0.5598 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.4205, allocations: 48.38 kB / 0.5599 GB, free: 33.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000456/0.421, allocations: 152 kB / 0.56 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.421, allocations: 37.25 kB / 0.5601 GB, free: 33.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 2.785e-06/0.421, allocations: 1.031 kB / 0.5601 GB, free: 33.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.00113/0.4221, allocations: 406.9 kB / 0.5604 GB, free: 33.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.4222, allocations: 55.05 kB / 0.5605 GB, free: 33.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.562e-05/0.4222, allocations: 93.67 kB / 0.5606 GB, free: 33.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.4223, allocations: 30.98 kB / 0.5606 GB, free: 33.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.846e-05/0.4223, allocations: 85.17 kB / 0.5607 GB, free: 33.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.4223, allocations: 12.36 kB / 0.5607 GB, free: 33.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.4224, allocations: 21.94 kB / 0.5607 GB, free: 33.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.082e-05/0.4224, allocations: 316.5 kB / 0.561 GB, free: 32.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.4226, allocations: 36.98 kB / 0.5611 GB, free: 32.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.4228, allocations: 36.38 kB / 0.5611 GB, free: 32.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.423, allocations: 75 kB / 0.5612 GB, free: 32.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.4231, allocations: 1.406 kB / 0.5612 GB, free: 32.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003467/0.4234, allocations: 123.3 kB / 0.5613 GB, free: 32.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.4234, allocations: 6.375 kB / 0.5613 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.4234, allocations: 0 / 0.5613 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.4235, allocations: 0.5625 kB / 0.5613 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.4236, allocations: 24.41 kB / 0.5613 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.4236, allocations: 1.156 kB / 0.5613 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.754e-05/0.4237, allocations: 13.61 kB / 0.5613 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.4237, allocations: 5.734 kB / 0.5613 GB, free: 32.68 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 (6): * Single equations (assignments): 6 * 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 6.583e-05/0.4238, allocations: 113.8 kB / 0.5615 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.4238, allocations: 8.578 kB / 0.5615 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004432/0.4243, allocations: 139.1 kB / 0.5616 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4243, allocations: 1.344 kB / 0.5616 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4243, allocations: 0.7031 kB / 0.5616 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4243, allocations: 1.156 kB / 0.5616 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.4244, allocations: 167 kB / 0.5618 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4244, allocations: 3.938 kB / 0.5618 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.4246, allocations: 24.11 kB / 0.5618 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4246, allocations: 1.219 kB / 0.5618 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.4246, allocations: 1.969 kB / 0.5618 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4246, allocations: 2.672 kB / 0.5618 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4247, allocations: 1.156 kB / 0.5618 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005476/0.4252, allocations: 183.5 kB / 0.562 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-05/0.4253, allocations: 95.44 kB / 0.5621 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.4253, allocations: 0.7031 kB / 0.5621 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.4254, allocations: 15.44 kB / 0.5621 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.69e-05/0.4255, allocations: 4.469 kB / 0.5621 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.4255, allocations: 7.719 kB / 0.5621 GB, free: 32.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.497e-05/0.4255, allocations: 78.05 kB / 0.5622 GB, free: 32.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4255, allocations: 1.812 kB / 0.5622 GB, free: 32.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.4258, allocations: 34.34 kB / 0.5622 GB, free: 32.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0008105/0.4266, allocations: 0.7467 MB / 0.5629 GB, free: 31.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003669/0.4269, allocations: 85 kB / 0.563 GB, free: 31.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.427, allocations: 4.031 kB / 0.563 GB, free: 31.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.4271, allocations: 44.98 kB / 0.563 GB, free: 31.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.4273, allocations: 8.859 kB / 0.5631 GB, free: 31.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.4291, allocations: 1.368 MB / 0.5644 GB, free: 30.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.4292, allocations: 0.6832 MB / 0.5651 GB, free: 29.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00011/0.4294, allocations: 23.58 kB / 0.5651 GB, free: 29.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.851e-05/0.4294, allocations: 14.64 kB / 0.5651 GB, free: 29.49 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4294, allocations: 0 / 0.5651 GB, free: 29.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.182/1.611, allocations: 1.943 MB / 0.567 GB, free: 29.25 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/1.612, allocations: 215.4 kB / 0.5672 GB, free: 29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/3.318, allocations: 0 / 0.5672 GB, free: 29 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)