Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_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.0016/0.0016, allocations: 109.4 kB / 15.69 MB, free: 128 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.001802/0.001802, allocations: 187.7 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.758/1.758, allocations: 292.3 MB / 0.549 GB, free: 12.71 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 73.45 kB / 0.6718 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.267, allocations: 114.6 MB / 0.7836 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001857/0.2689, allocations: 0.6124 MB / 0.7842 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004126/0.2693, allocations: 155.5 kB / 0.7844 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.422e-05/0.2693, allocations: 4 kB / 0.7844 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.2694, allocations: 0 / 0.7844 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.555e-05/0.2694, allocations: 0 / 0.7844 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.2697, allocations: 43.89 kB / 0.7844 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.932e-05/0.2698, allocations: 23.86 kB / 0.7845 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.454e-05/0.2699, allocations: 0 / 0.7845 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.063e-05/0.2699, allocations: 4 kB / 0.7845 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.27, allocations: 15.97 kB / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.27, allocations: 0 / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.534e-05/0.2701, allocations: 35.91 kB / 0.7845 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.2701, allocations: 3.938 kB / 0.7845 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.649e-05/0.2701, allocations: 8 kB / 0.7845 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.2702, allocations: 39.88 kB / 0.7846 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2702, allocations: 0 / 0.7846 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2703, allocations: 0 / 0.7846 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.2703, allocations: 0 / 0.7846 GB, free: 12.28 MB / 0.6075 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.0004123/0.2707, allocations: 327.6 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.2707, allocations: 8.031 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.159e-05/0.2708, allocations: 34.75 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/0.2708, allocations: 4.844 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.2709, allocations: 168.6 kB / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.271, allocations: 384 / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.271, allocations: 12.36 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.2711, allocations: 46.19 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.2711, allocations: 3.938 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.2711, allocations: 0 / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.2711, allocations: 0 / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.707e-05/0.2712, allocations: 15.98 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.2714, allocations: 153.7 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.2715, allocations: 50.61 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.43e-05/0.2715, allocations: 16.98 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.2717, allocations: 85.05 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.2717, allocations: 34.5 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.2717, allocations: 0 / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.001246/0.2729, allocations: 496.2 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.273, allocations: 51.41 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.292e-05/0.2731, allocations: 93.86 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.2731, allocations: 29.7 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/0.2731, allocations: 80.14 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.2732, allocations: 31.55 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.2732, allocations: 17.72 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2733, allocations: 315 kB / 0.7865 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.66e-05/0.2734, allocations: 16 kB / 0.7866 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.438e-05/0.2734, allocations: 12 kB / 0.7866 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.199e-05/0.2735, allocations: 36.78 kB / 0.7866 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.2735, allocations: 4 kB / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001114/0.2736, allocations: 73.61 kB / 0.7867 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.2736, allocations: 4 kB / 0.7867 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2736, allocations: 0 / 0.7867 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.2737, allocations: 4 kB / 0.7867 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.763e-05/0.2737, allocations: 11.98 kB / 0.7867 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2737, allocations: 4 kB / 0.7867 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.51e-05/0.2738, allocations: 8 kB / 0.7867 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.2738, allocations: 0 / 0.7867 GB, free: 9.754 MB / 0.6075 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 8.122e-05/0.2739, allocations: 113.8 kB / 0.7868 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.2739, allocations: 3.938 kB / 0.7868 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.2741, allocations: 85.58 kB / 0.7869 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2741, allocations: 0 / 0.7869 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.2741, allocations: 3.984 kB / 0.7869 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.2741, allocations: 4 kB / 0.7869 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.2742, allocations: 169.6 kB / 0.7871 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2742, allocations: 192 / 0.7871 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.196e-05/0.2743, allocations: 23.88 kB / 0.7871 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2743, allocations: 0 / 0.7871 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.2744, allocations: 7.984 kB / 0.7871 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2744, allocations: 3.938 kB / 0.7871 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2744, allocations: 0 / 0.7871 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.2746, allocations: 117.4 kB / 0.7872 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.2746, allocations: 81.05 kB / 0.7873 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.2746, allocations: 4.031 kB / 0.7873 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.962e-05/0.2747, allocations: 0 / 0.7873 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/0.2747, allocations: 7.984 kB / 0.7873 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.2747, allocations: 4 kB / 0.7873 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.318e-05/0.2748, allocations: 83.22 kB / 0.7874 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2748, allocations: 0 / 0.7874 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002152/0.275, allocations: 28 kB / 0.7874 GB, free: 8.922 MB / 0.6075 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.0005494/0.2755, allocations: 0.6907 MB / 0.7881 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.2757, allocations: 35.92 kB / 0.7881 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.2757, allocations: 0 / 0.7881 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.568e-05/0.2757, allocations: 27.97 kB / 0.7882 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.2759, allocations: 4 kB / 0.7882 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.277, allocations: 1.2 MB / 0.7893 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.2772, allocations: 0.6845 MB / 0.79 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.408e-05/0.2773, allocations: 4 kB / 0.79 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.2773, allocations: 19.42 kB / 0.79 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/0.2773, allocations: 0 / 0.79 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0194/0.2967, allocations: 1.798 MB / 0.7918 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.161/7.458, allocations: 8.188 kB / 0.7918 GB, free: 4.457 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)