Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001088/0.001088, allocations: 108 kB / 15.61 MB, free: 152 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.001091/0.001091, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.035/1.035, allocations: 143 MB / 433.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 63.91 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2395, allocations: 82.05 MB / 0.5944 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002955/0.2425, allocations: 0.5896 MB / 0.595 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006706/0.2432, allocations: 159.5 kB / 0.5951 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.09e-05/0.2432, allocations: 0 / 0.5951 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.347e-05/0.2433, allocations: 3.938 kB / 0.5951 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.555e-05/0.2433, allocations: 4 kB / 0.5951 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.2438, allocations: 39.89 kB / 0.5952 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.311e-05/0.2439, allocations: 12 kB / 0.5952 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.429e-05/0.2439, allocations: 3.984 kB / 0.5952 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.585e-05/0.244, allocations: 11.98 kB / 0.5952 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.429e-05/0.2441, allocations: 7.938 kB / 0.5952 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.2441, allocations: 0 / 0.5952 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.2442, allocations: 35.95 kB / 0.5952 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.2443, allocations: 4 kB / 0.5952 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.877e-05/0.2443, allocations: 11.92 kB / 0.5953 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.2445, allocations: 23.97 kB / 0.5953 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/0.2445, allocations: 11.92 kB / 0.5953 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2445, allocations: 0 / 0.5953 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.2445, allocations: 4 kB / 0.5953 GB, free: 8.586 MB / 0.4981 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.0004987/0.245, allocations: 327.6 kB / 0.5956 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.447e-05/0.2451, allocations: 12.03 kB / 0.5956 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.735e-05/0.2452, allocations: 34.69 kB / 0.5957 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/0.2452, allocations: 4.844 kB / 0.5957 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.2454, allocations: 160.7 kB / 0.5958 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.2454, allocations: 4.375 kB / 0.5958 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.2454, allocations: 4.375 kB / 0.5958 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.2456, allocations: 46.25 kB / 0.5959 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.2456, allocations: 3.938 kB / 0.5959 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.2457, allocations: 7.984 kB / 0.5959 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.2457, allocations: 4 kB / 0.5959 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.991e-05/0.2458, allocations: 15.94 kB / 0.5959 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002358/0.246, allocations: 161.6 kB / 0.596 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.2462, allocations: 50.55 kB / 0.5961 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.013e-05/0.2462, allocations: 20.97 kB / 0.5961 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.2464, allocations: 81.11 kB / 0.5962 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.152e-05/0.2465, allocations: 34.56 kB / 0.5962 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.973e-06/0.2465, allocations: 0 / 0.5962 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.001869/0.2484, allocations: 496 kB / 0.5967 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.2484, allocations: 51.41 kB / 0.5967 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.779e-05/0.2485, allocations: 89.86 kB / 0.5968 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.2486, allocations: 29.7 kB / 0.5969 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.2486, allocations: 88.27 kB / 0.5969 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/0.2487, allocations: 23.64 kB / 0.597 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.004e-05/0.2488, allocations: 21.72 kB / 0.597 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.2489, allocations: 310.8 kB / 0.5973 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.533e-05/0.249, allocations: 19.97 kB / 0.5973 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.609e-05/0.249, allocations: 12.44 kB / 0.5973 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.2492, allocations: 33.08 kB / 0.5973 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2492, allocations: 0 / 0.5973 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002002/0.2494, allocations: 81.45 kB / 0.5974 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.2494, allocations: 12 kB / 0.5974 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.2495, allocations: 4 kB / 0.5974 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.2495, allocations: 0 / 0.5974 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.2496, allocations: 12 kB / 0.5975 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.2497, allocations: 3.984 kB / 0.5975 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.843e-05/0.2497, allocations: 3.938 kB / 0.5975 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.2497, allocations: 8 kB / 0.5975 GB, free: 6.039 MB / 0.4981 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 0.000111/0.2498, allocations: 105.8 kB / 0.5976 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.2499, allocations: 7.938 kB / 0.5976 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.2502, allocations: 85.58 kB / 0.5977 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2502, allocations: 0 / 0.5977 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.2502, allocations: 4 kB / 0.5977 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2502, allocations: 0 / 0.5977 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.2504, allocations: 169.6 kB / 0.5978 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2504, allocations: 0 / 0.5978 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.2506, allocations: 15.94 kB / 0.5978 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.2506, allocations: 0 / 0.5978 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.2506, allocations: 3.938 kB / 0.5978 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2506, allocations: 4 kB / 0.5978 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.2506, allocations: 0 / 0.5978 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.2509, allocations: 121 kB / 0.598 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.251, allocations: 85.03 kB / 0.598 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.251, allocations: 0 / 0.598 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/0.2511, allocations: 4.031 kB / 0.598 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.2511, allocations: 0 / 0.598 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.2512, allocations: 8.062 kB / 0.5981 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.324e-05/0.2512, allocations: 83.27 kB / 0.5981 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.2e-07/0.2512, allocations: 0 / 0.5981 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003894/0.2516, allocations: 24 kB / 0.5982 GB, free: 5.227 MB / 0.4981 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.000807/0.2525, allocations: 0.6827 MB / 0.5988 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002091/0.2527, allocations: 55.91 kB / 0.5989 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.912e-06/0.2527, allocations: 4 kB / 0.5989 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.296e-05/0.2528, allocations: 19.98 kB / 0.5989 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.253, allocations: 4 kB / 0.5989 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.2548, allocations: 1.188 MB / 0.6001 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.2551, allocations: 0.6833 MB / 0.6007 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.502e-05/0.2552, allocations: 12 kB / 0.6007 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.2552, allocations: 15.44 kB / 0.6008 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.2552, allocations: 96 / 0.6008 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.2793, allocations: 1.804 MB / 0.6025 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.341/7.621, allocations: 12.72 kB / 0.6025 GB, free: 0.7734 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)