Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 105.8 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.344/2.344, allocations: 443.5 MB / 0.7304 GB, free: 13.96 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 71.88 kB / 1.059 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2654, allocations: 160.7 MB / 1.216 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001714/0.2671, allocations: 0.569 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.2688, allocations: 1.251 MB / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.083e-05/0.2689, allocations: 7.938 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.463e-05/0.2689, allocations: 4 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.921e-05/0.269, allocations: 0 / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006754/0.2697, allocations: 287.2 kB / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.2698, allocations: 71.88 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.561e-05/0.2698, allocations: 4 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.676e-05/0.2699, allocations: 39.91 kB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.27, allocations: 51.81 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.27, allocations: 0 / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003894/0.2704, allocations: 211.7 kB / 1.218 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.806e-05/0.2704, allocations: 11.88 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.379e-05/0.2705, allocations: 31.84 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003547/0.2708, allocations: 255.6 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2708, allocations: 3.938 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2708, allocations: 3.938 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.2709, allocations: 0 / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004504/0.2713, allocations: 448.5 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.2713, allocations: 12.03 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.918e-05/0.2714, allocations: 110 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.742e-05/0.2715, allocations: 84.2 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.2717, allocations: 251.6 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.59e-05/0.2717, allocations: 154.9 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.2718, allocations: 154.9 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.391e-05/0.2719, allocations: 112.9 kB / 1.22 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.447e-05/0.272, allocations: 83.28 kB / 1.22 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-05/0.272, allocations: 154.5 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.789e-05/0.2721, allocations: 150.6 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.548e-05/0.2721, allocations: 150.6 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.2725, allocations: 469.9 kB / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.785e-05/0.2726, allocations: 169.1 kB / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.2726, allocations: 80.14 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.2726, allocations: 83.16 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/0.2727, allocations: 109.9 kB / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.2727, allocations: 0 / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0001285/0.2728, allocations: 45.64 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/0.2729, allocations: 134.7 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.273, allocations: 135.5 kB / 1.221 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.273, allocations: 29.7 kB / 1.221 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.2731, allocations: 96.08 kB / 1.221 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-06/0.2731, allocations: 0 / 1.221 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.519e-05/0.2732, allocations: 41.7 kB / 1.221 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2733, allocations: 322.8 kB / 1.222 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.2734, allocations: 59.95 kB / 1.222 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.852e-05/0.2735, allocations: 67.81 kB / 1.222 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.2737, allocations: 102.6 kB / 1.222 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2737, allocations: 0 / 1.222 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003814/0.2741, allocations: 227.2 kB / 1.222 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.359e-05/0.2741, allocations: 41.69 kB / 1.222 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2741, allocations: 0 / 1.222 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2741, allocations: 0 / 1.222 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.2741, allocations: 0 / 1.222 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.2741, allocations: 4.062 kB / 1.222 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.2744, allocations: 27.92 kB / 1.222 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.2744, allocations: 19.92 kB / 1.222 GB, free: 8.855 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI2[2],yI2[1],yI1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001283/0.2746, allocations: 197.1 kB / 1.222 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-05/0.2746, allocations: 112.8 kB / 1.222 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.562e-05/0.2747, allocations: 116.5 kB / 1.223 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.119e-05/0.2748, allocations: 184.2 kB / 1.223 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.105e-05/0.2748, allocations: 180.3 kB / 1.223 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.736e-05/0.2749, allocations: 180.2 kB / 1.223 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.2752, allocations: 413.2 kB / 1.224 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.701e-05/0.2752, allocations: 104.9 kB / 1.224 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.312e-05/0.2752, allocations: 108.9 kB / 1.224 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.838e-05/0.2753, allocations: 180.3 kB / 1.224 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.526e-05/0.2754, allocations: 184.2 kB / 1.224 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.095e-05/0.2755, allocations: 180.2 kB / 1.224 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.367e-05/0.2755, allocations: 176.3 kB / 1.224 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.2757, allocations: 315.7 kB / 1.225 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.682e-05/0.2758, allocations: 197.9 kB / 1.225 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.561e-05/0.2759, allocations: 176.3 kB / 1.225 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.051e-05/0.2759, allocations: 101 kB / 1.225 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.974e-05/0.276, allocations: 188.2 kB / 1.225 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.883e-05/0.2761, allocations: 105 kB / 1.225 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.902e-05/0.2761, allocations: 115.1 kB / 1.226 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.2761, allocations: 0 / 1.226 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003245/0.2765, allocations: 67.8 kB / 1.226 GB, free: 5.121 MB / 0.9669 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 (0): * Single equations (assignments): 0 * 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.001178/0.2776, allocations: 1.045 MB / 1.227 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002306/0.2779, allocations: 147.3 kB / 1.227 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2779, allocations: 4.062 kB / 1.227 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.425e-06/0.2779, allocations: 0 / 1.227 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.2782, allocations: 465.1 kB / 1.227 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.28, allocations: 1.853 MB / 1.229 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.2803, allocations: 0.6806 MB / 1.23 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.989e-05/0.2804, allocations: 59.92 kB / 1.23 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.511e-05/0.2804, allocations: 11.44 kB / 1.23 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of SimCode: time 3.51e-07/0.2804, allocations: 0 / 1.23 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02633/0.3067, allocations: 3.717 MB / 1.233 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.104/7.41, allocations: 4.594 kB / 1.233 GB, free: 13.09 MB / 0.9825 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.fmu > Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 12.873980322001444]