Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.633/2.633, allocations: 287.3 MB / 302.3 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001597/0.001596, allocations: 186.2 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.316/2.316, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001541/0.001541, allocations: 84.25 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006906/0.0006906, allocations: 17 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2202, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0007558/0.221, allocations: 329.8 kB / 0.9786 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001526/0.2226, allocations: 1.108 MB / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.16e-05/0.2227, allocations: 0 / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.2227, allocations: 0 / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.2229, allocations: 27.84 kB / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.906e-06/0.223, allocations: 0 / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.601e-05/0.223, allocations: 4 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.479e-05/0.2231, allocations: 4 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.544e-05/0.2231, allocations: 0 / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.891e-05/0.2231, allocations: 0 / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.526e-06/0.2231, allocations: 0 / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.2233, allocations: 23.91 kB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.989e-06/0.2233, allocations: 0 / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.592e-05/0.2233, allocations: 29.7 kB / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.019e-05/0.2234, allocations: 7.984 kB / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.2234, allocations: 3.938 kB / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2234, allocations: 0 / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2234, allocations: 0 / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002178/0.2237, allocations: 323.4 kB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.2237, allocations: 8.031 kB / 0.9801 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.223e-05/0.2238, allocations: 30.56 kB / 0.9801 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.441e-05/0.2238, allocations: 3.953 kB / 0.9801 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.032e-05/0.2239, allocations: 159.1 kB / 0.9803 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.2239, allocations: 4 kB / 0.9803 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.2239, allocations: 0 / 0.9803 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.2241, allocations: 41.62 kB / 0.9803 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.2241, allocations: 0 / 0.9803 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.2242, allocations: 11.92 kB / 0.9803 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2242, allocations: 0 / 0.9803 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.759e-05/0.2243, allocations: 4 kB / 0.9803 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001884/0.2245, allocations: 165.8 kB / 0.9805 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.2248, allocations: 34.61 kB / 0.9805 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002398/0.2251, allocations: 85.09 kB / 0.9806 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.2251, allocations: 38.5 kB / 0.9807 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 3.176e-06/0.2251, allocations: 0 / 0.9807 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.01156/0.2367, allocations: 0.5638 MB / 0.9812 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.2368, allocations: 51.41 kB / 0.9813 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.447e-05/0.2369, allocations: 89.86 kB / 0.9813 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.2369, allocations: 25.7 kB / 0.9814 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.09e-05/0.237, allocations: 80.14 kB / 0.9814 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.57e-05/0.237, allocations: 19.8 kB / 0.9815 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.182e-05/0.2371, allocations: 0 / 0.9815 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.429e-05/0.2372, allocations: 318.8 kB / 0.9818 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/0.2386, allocations: 83.95 kB / 0.9818 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.2396, allocations: 102.5 kB / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.2407, allocations: 83.95 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2407, allocations: 0 / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.002151/0.2429, allocations: 213.6 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.2429, allocations: 8 kB / 0.9822 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.2429, allocations: 4.062 kB / 0.9822 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.243, allocations: 0 / 0.9822 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007092/0.2437, allocations: 51.91 kB / 0.9823 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.2437, allocations: 4 kB / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005907/0.2443, allocations: 39.97 kB / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.2444, allocations: 4 kB / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.2445, allocations: 117.8 kB / 0.9824 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.2445, allocations: 3.906 kB / 0.9824 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/0.2468, allocations: 237.2 kB / 0.9827 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.2469, allocations: 64 / 0.9827 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.2469, allocations: 8 kB / 0.9827 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.2469, allocations: 7.984 kB / 0.9827 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.2493, allocations: 454.4 kB / 0.9831 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.2494, allocations: 0 / 0.9831 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006573/0.25, allocations: 51.91 kB / 0.9832 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.2501, allocations: 0 / 0.9832 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.2501, allocations: 3.938 kB / 0.9832 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.2501, allocations: 4 kB / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2501, allocations: 0 / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/0.2523, allocations: 307.4 kB / 0.9835 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.621e-05/0.2524, allocations: 77.11 kB / 0.9835 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.2524, allocations: 4 kB / 0.9836 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006164/0.2531, allocations: 39.97 kB / 0.9836 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.2531, allocations: 4 kB / 0.9836 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.2531, allocations: 0 / 0.9836 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.843e-05/0.2532, allocations: 75.28 kB / 0.9837 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2532, allocations: 0 / 0.9837 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003491/0.2535, allocations: 16 kB / 0.9837 GB, free: 22.41 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002439/0.256, allocations: 0.8411 MB / 0.9845 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002124/0.2581, allocations: 183.8 kB / 0.9847 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.2582, allocations: 192 / 0.9847 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.2592, allocations: 91.95 kB / 0.9848 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.2595, allocations: 0 / 0.9848 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.2615, allocations: 248.6 kB / 0.985 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.2616, allocations: 0.677 MB / 0.9857 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003756/0.262, allocations: 28.25 kB / 0.9857 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.2621, allocations: 11.44 kB / 0.9857 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of SimCode: time 1.904e-06/0.2621, allocations: 0 / 0.9857 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.2818, allocations: 1.441 MB / 0.9871 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000243/0.2821, allocations: 207.3 kB / 0.9873 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.395/2.678, allocations: 0 / 0.9873 GB, free: 18.74 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)