Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.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.Examples.SmoothBlocks,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks",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.001169/0.001169, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001073/0.001073, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001694/0.001694, allocations: 267.1 kB / 291.2 MB, free: 1.883 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7553/0.7553, allocations: 144.6 MB / 487 MB, free: 7.195 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004588/0.0004589, allocations: 12.77 kB / 0.5684 GB, free: 38.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.19, allocations: 83.09 MB / 0.6495 GB, free: 3.523 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.002228/0.1923, allocations: 1.44 MB / 0.6509 GB, free: 2.074 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009378/0.1933, allocations: 0.5847 MB / 0.6515 GB, free: 1.488 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.858e-05/0.1934, allocations: 0 / 0.6515 GB, free: 1.488 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.268e-05/0.1934, allocations: 7.922 kB / 0.6515 GB, free: 1.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.158e-05/0.1935, allocations: 15.97 kB / 0.6515 GB, free: 1.465 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005401/0.194, allocations: 158 kB / 0.6517 GB, free: 1.316 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.1941, allocations: 71.84 kB / 0.6517 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.1943, allocations: 40.23 kB / 0.6518 GB, free: 1.207 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.1944, allocations: 43.84 kB / 0.6518 GB, free: 1.164 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.482e-05/0.1945, allocations: 44.58 kB / 0.6519 GB, free: 1.121 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.1945, allocations: 4 kB / 0.6519 GB, free: 1.117 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.897e-05/0.1946, allocations: 36.55 kB / 0.6519 GB, free: 1.082 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.965e-05/0.1947, allocations: 20.5 kB / 0.6519 GB, free: 1.062 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.1947, allocations: 37.64 kB / 0.652 GB, free: 1.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.1949, allocations: 90.11 kB / 0.6521 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.1949, allocations: 4 kB / 0.6521 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.218e-06/0.1949, allocations: 3.938 kB / 0.6521 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1949, allocations: 3.938 kB / 0.6521 GB, free: 0.9219 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005885/0.1955, allocations: 420.9 kB / 0.6525 GB, free: 476 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.1955, allocations: 9.594 kB / 0.6525 GB, free: 468 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.081e-05/0.1956, allocations: 42.55 kB / 0.6525 GB, free: 416 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008476/0.1965, allocations: 140.8 kB / 0.6526 GB, free: 280 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.1966, allocations: 179 kB / 0.6528 GB, free: 60 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.1968, allocations: 72.48 kB / 0.6529 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.1968, allocations: 9.875 kB / 0.6529 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005458/0.1973, allocations: 188.8 kB / 0.6531 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1974, allocations: 0 / 0.6531 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.1974, allocations: 4 kB / 0.6531 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1974, allocations: 4.875 kB / 0.6531 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006394/0.1981, allocations: 193.8 kB / 0.6533 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.1992, allocations: 0.4959 MB / 0.6538 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.2006, allocations: 266.3 kB / 0.654 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.2006, allocations: 0 / 0.654 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.2007, allocations: 38.55 kB / 0.654 GB, free: 14.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.2007, allocations: 0 / 0.654 GB, free: 14.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.001089/0.2018, allocations: 313.6 kB / 0.6543 GB, free: 14.42 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.2018, allocations: 55.41 kB / 0.6544 GB, free: 14.35 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.202, allocations: 138.8 kB / 0.6545 GB, free: 14.21 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.202, allocations: 25.7 kB / 0.6546 GB, free: 14.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.625e-05/0.2021, allocations: 112.1 kB / 0.6547 GB, free: 14.06 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.2021, allocations: 23.73 kB / 0.6547 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.15e-05/0.2022, allocations: 4 kB / 0.6547 GB, free: 14.03 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.2023, allocations: 326.8 kB / 0.655 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/0.2026, allocations: 91.86 kB / 0.6551 GB, free: 13.61 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.2029, allocations: 114.5 kB / 0.6552 GB, free: 13.49 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/0.2032, allocations: 91.88 kB / 0.6553 GB, free: 13.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2033, allocations: 0 / 0.6553 GB, free: 13.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006694/0.2039, allocations: 233.4 kB / 0.6555 GB, free: 13.17 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.204, allocations: 8.062 kB / 0.6555 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.204, allocations: 0 / 0.6555 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.204, allocations: 4 kB / 0.6555 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/0.2043, allocations: 48.25 kB / 0.6556 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.2043, allocations: 0 / 0.6556 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.2045, allocations: 39.88 kB / 0.6556 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.2045, allocations: 4 kB / 0.6556 GB, free: 13.07 MB / 462.1 MB 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 (8): * Single equations (assignments): 8 * 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.0001174/0.2047, allocations: 124.4 kB / 0.6557 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.2047, allocations: 11.91 kB / 0.6557 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007372/0.2055, allocations: 242.1 kB / 0.656 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2055, allocations: 0 / 0.656 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2055, allocations: 0 / 0.656 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2055, allocations: 3.938 kB / 0.656 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.2058, allocations: 234.4 kB / 0.6562 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2058, allocations: 0 / 0.6562 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.206, allocations: 43.95 kB / 0.6562 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.206, allocations: 3.984 kB / 0.6562 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.206, allocations: 0 / 0.6562 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.206, allocations: 4 kB / 0.6562 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.206, allocations: 0 / 0.6562 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007278/0.2068, allocations: 331.2 kB / 0.6566 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.727e-05/0.2068, allocations: 88.95 kB / 0.6566 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.2069, allocations: 0 / 0.6566 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.2072, allocations: 43.95 kB / 0.6567 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.2072, allocations: 11.98 kB / 0.6567 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.2073, allocations: 7.984 kB / 0.6567 GB, free: 11.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.911e-05/0.2073, allocations: 99.27 kB / 0.6568 GB, free: 11.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2073, allocations: 0 / 0.6568 GB, free: 11.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.2076, allocations: 27.91 kB / 0.6568 GB, free: 11.72 MB / 462.1 MB 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 (6): * Single equations (assignments): 6 * 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.001025/0.2086, allocations: 0.8566 MB / 0.6577 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006548/0.2093, allocations: 196 kB / 0.6578 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.2093, allocations: 4 kB / 0.6579 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003222/0.2096, allocations: 108.1 kB / 0.658 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.2099, allocations: 5.406 kB / 0.658 GB, free: 10.53 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.2109, allocations: 0.7955 MB / 0.6587 GB, free: 9.676 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.2112, allocations: 0.716 MB / 0.6594 GB, free: 8.934 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 9.166e-05/0.2113, allocations: 12.19 kB / 0.6594 GB, free: 8.922 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.202e-05/0.2114, allocations: 27.42 kB / 0.6595 GB, free: 8.895 MB / 462.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2114, allocations: 0 / 0.6595 GB, free: 8.895 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01402/0.2254, allocations: 2.403 MB / 0.6618 GB, free: 6.641 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002361/0.2257, allocations: 182.8 kB / 0.662 GB, free: 6.402 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/2.082, allocations: 4 kB / 0.662 GB, free: 6.398 MB / 462.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) Environment - environmentSimulation: