Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.007446/0.007446, allocations: 99.41 kB / 15.73 MB, free: 6.008 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.001888/0.001888, allocations: 191 kB / 16.67 MB, free: 5.934 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.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002514/0.002514, allocations: 288.8 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.028/1.028, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002696/0.002696, allocations: 99.84 kB / 0.681 GB, free: 7.434 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4271, allocations: 86.98 MB / 0.766 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001772/0.4289, allocations: 0.5977 MB / 0.7665 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004022/0.4293, allocations: 159.5 kB / 0.7667 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.561e-05/0.4294, allocations: 4 kB / 0.7667 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.4294, allocations: 3.938 kB / 0.7667 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 1.634e-05/0.4294, allocations: 0 / 0.7667 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.4297, allocations: 39.89 kB / 0.7667 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.631e-05/0.4298, allocations: 7.984 kB / 0.7667 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.204e-05/0.4298, allocations: 4 kB / 0.7668 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.134e-05/0.4299, allocations: 8 kB / 0.7668 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.061e-05/0.4299, allocations: 11.91 kB / 0.7668 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.43, allocations: 4 kB / 0.7668 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.135e-05/0.4301, allocations: 35.97 kB / 0.7668 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.4301, allocations: 7.938 kB / 0.7668 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.4301, allocations: 11.94 kB / 0.7668 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.4302, allocations: 31.73 kB / 0.7669 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.4302, allocations: 0 / 0.7669 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4302, allocations: 0 / 0.7669 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.4303, allocations: 0 / 0.7669 GB, free: 2.93 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004048/0.4307, allocations: 328.8 kB / 0.7672 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.4307, allocations: 11.97 kB / 0.7672 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.123e-05/0.4308, allocations: 34.75 kB / 0.7672 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.4308, allocations: 8.891 kB / 0.7672 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.4309, allocations: 172.3 kB / 0.7674 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.431, allocations: 4.312 kB / 0.7674 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.431, allocations: 4.375 kB / 0.7674 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.4311, allocations: 46.25 kB / 0.7674 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.4311, allocations: 3.938 kB / 0.7674 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.4311, allocations: 4 kB / 0.7674 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.4311, allocations: 0 / 0.7674 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.652e-05/0.4312, allocations: 15.92 kB / 0.7675 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.4314, allocations: 157.7 kB / 0.7676 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.482e-05/0.4315, allocations: 50.56 kB / 0.7677 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.78e-05/0.4315, allocations: 16.98 kB / 0.7677 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.4317, allocations: 85.09 kB / 0.7678 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.4317, allocations: 30.56 kB / 0.7678 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.4317, allocations: 0 / 0.7678 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.00138/0.4331, allocations: 495.9 kB / 0.7683 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.4331, allocations: 51.41 kB / 0.7683 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.917e-05/0.4332, allocations: 97.86 kB / 0.7684 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.4333, allocations: 25.7 kB / 0.7684 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.4333, allocations: 84.14 kB / 0.7685 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.4333, allocations: 23.8 kB / 0.7685 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.4334, allocations: 21.72 kB / 0.7686 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.4335, allocations: 319 kB / 0.7689 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.029e-05/0.4336, allocations: 12.44 kB / 0.7689 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.701e-05/0.4336, allocations: 15.98 kB / 0.7689 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.86e-05/0.4337, allocations: 32.8 kB / 0.7689 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4337, allocations: 4 kB / 0.7689 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000118/0.4338, allocations: 77.61 kB / 0.769 GB, free: 436 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.4338, allocations: 4 kB / 0.769 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.4338, allocations: 0 / 0.769 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.4339, allocations: 0 / 0.769 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.295e-05/0.434, allocations: 15.98 kB / 0.769 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.434, allocations: 4 kB / 0.769 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.931e-05/0.434, allocations: 4 kB / 0.769 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.434, allocations: 0 / 0.769 GB, free: 408 kB / 0.5294 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 (8): * Single equations (assignments): 8 * 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 9.525e-05/0.4341, allocations: 117.8 kB / 0.7691 GB, free: 280 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.4341, allocations: 11.83 kB / 0.7691 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.4343, allocations: 89.56 kB / 0.7692 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.4343, allocations: 0 / 0.7692 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4343, allocations: 0 / 0.7692 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4344, allocations: 4 kB / 0.7692 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.4345, allocations: 161.7 kB / 0.7694 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4345, allocations: 0 / 0.7694 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.978e-05/0.4346, allocations: 31.84 kB / 0.7694 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.4346, allocations: 0 / 0.7694 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.4346, allocations: 0 / 0.7694 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.4347, allocations: 7.938 kB / 0.7694 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4347, allocations: 0 / 0.7694 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.4349, allocations: 109.1 kB / 0.7695 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.4349, allocations: 85 kB / 0.7696 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.4349, allocations: 8.031 kB / 0.7696 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.669e-05/0.435, allocations: 0 / 0.7696 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.435, allocations: 7.984 kB / 0.7696 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.435, allocations: 0 / 0.7696 GB, free: 15.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.951e-05/0.4351, allocations: 79.28 kB / 0.7697 GB, free: 15.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4351, allocations: 0 / 0.7697 GB, free: 15.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003105/0.4354, allocations: 31.94 kB / 0.7697 GB, free: 15.56 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0006255/0.436, allocations: 0.6871 MB / 0.7704 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001204/0.4362, allocations: 39.92 kB / 0.7704 GB, free: 14.81 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4362, allocations: 0 / 0.7704 GB, free: 14.81 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.21e-05/0.4362, allocations: 23.98 kB / 0.7705 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.4364, allocations: 6.234 kB / 0.7705 GB, free: 14.78 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.4376, allocations: 1.19 MB / 0.7716 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.4379, allocations: 0.6846 MB / 0.7723 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.039e-05/0.438, allocations: 11.83 kB / 0.7723 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.261e-05/0.438, allocations: 23.31 kB / 0.7723 GB, free: 12.77 MB / 0.545 GB Notification: Performance of SimCode: time 2.004e-06/0.438, allocations: 0 / 0.7723 GB, free: 12.77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02397/0.462, allocations: 1.832 MB / 0.7741 GB, free: 11.12 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.178/8.64, allocations: 6.969 kB / 0.7741 GB, free: 11.12 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)