Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.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.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",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.001038/0.001038, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001285/0.001285, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.683/1.683, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.892/1.892, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005588/0.0005592, allocations: 18.69 kB / 0.6738 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2806, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.00316/0.2838, allocations: 2.192 MB / 0.7895 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001655/0.2855, allocations: 0.8934 MB / 0.7904 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002211/0.2858, allocations: 11.94 kB / 0.7904 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.286, allocations: 43.58 kB / 0.7905 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.2861, allocations: 43.64 kB / 0.7905 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.2866, allocations: 127.8 kB / 0.7906 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00042/0.287, allocations: 387.8 kB / 0.791 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002826/0.2873, allocations: 152.4 kB / 0.7911 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.2874, allocations: 83.47 kB / 0.7912 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.2876, allocations: 99.3 kB / 0.7913 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.2876, allocations: 4 kB / 0.7913 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.579e-05/0.2876, allocations: 8 kB / 0.7913 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.505e-05/0.2877, allocations: 43.72 kB / 0.7914 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.508e-05/0.2878, allocations: 85.52 kB / 0.7915 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004552/0.2882, allocations: 0.4912 MB / 0.7919 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2882, allocations: 3.938 kB / 0.7919 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.344e-06/0.2882, allocations: 0 / 0.7919 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.2883, allocations: 0 / 0.7919 GB, free: 7.168 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009447/0.2892, allocations: 0.5804 MB / 0.7925 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.2893, allocations: 8.031 kB / 0.7925 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.89e-05/0.2894, allocations: 74.47 kB / 0.7926 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.2894, allocations: 43.48 kB / 0.7926 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005084/0.29, allocations: 382.2 kB / 0.793 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.29, allocations: 24.56 kB / 0.793 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.256e-05/0.2901, allocations: 27.91 kB / 0.793 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006362/0.2907, allocations: 333.3 kB / 0.7934 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.2907, allocations: 4 kB / 0.7934 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.2908, allocations: 12 kB / 0.7934 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.2908, allocations: 4 kB / 0.7934 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004845/0.2913, allocations: 238.2 kB / 0.7936 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.2929, allocations: 1.182 MB / 0.7948 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000487/0.2934, allocations: 246.8 kB / 0.795 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.2936, allocations: 100.9 kB / 0.7951 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.2936, allocations: 7.938 kB / 0.7951 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.2937, allocations: 38.55 kB / 0.7951 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.452e-06/0.2937, allocations: 4 kB / 0.7951 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0006775/0.2944, allocations: 319.9 kB / 0.7954 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.2944, allocations: 81.11 kB / 0.7955 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/0.2948, allocations: 333.7 kB / 0.7958 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.2948, allocations: 25.7 kB / 0.7959 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.295, allocations: 204 kB / 0.7961 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.295, allocations: 47.27 kB / 0.7961 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/0.2951, allocations: 4 kB / 0.7961 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.2952, allocations: 338.8 kB / 0.7964 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.2954, allocations: 91.95 kB / 0.7965 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.2956, allocations: 119.4 kB / 0.7966 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.2958, allocations: 98.66 kB / 0.7967 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2958, allocations: 0 / 0.7967 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000457/0.2963, allocations: 277 kB / 0.797 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-05/0.2963, allocations: 102.7 kB / 0.7971 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.2963, allocations: 0 / 0.7971 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.2964, allocations: 4 kB / 0.7971 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.2965, allocations: 36.05 kB / 0.7971 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.2966, allocations: 4 kB / 0.7971 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.2967, allocations: 27.77 kB / 0.7972 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.2967, allocations: 8 kB / 0.7972 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.132e-06/0.2967, allocations: 4 kB / 0.7972 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003185/0.2971, allocations: 182.9 kB / 0.7973 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-06/0.2971, allocations: 0 / 0.7973 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.18e-06/0.2971, allocations: 3.953 kB / 0.7973 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.2972, allocations: 27.94 kB / 0.7974 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.2972, allocations: 3.984 kB / 0.7974 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.7e-05/0.2973, allocations: 23.78 kB / 0.7974 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.2973, allocations: 4 kB / 0.7974 GB, free: 1.297 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriSet_activate,expMod.oveWriAct_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002126/0.2976, allocations: 245.1 kB / 0.7976 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.528e-05/0.2976, allocations: 31.69 kB / 0.7977 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.803e-05/0.2977, allocations: 31.28 kB / 0.7977 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.2977, allocations: 7.953 kB / 0.7977 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2977, allocations: 0 / 0.7977 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.2977, allocations: 3.984 kB / 0.7977 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.2982, allocations: 417.2 kB / 0.7981 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2982, allocations: 0 / 0.7981 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.2984, allocations: 27.98 kB / 0.7981 GB, free: 496 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2984, allocations: 0 / 0.7981 GB, free: 496 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.2984, allocations: 8 kB / 0.7981 GB, free: 488 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2984, allocations: 4 kB / 0.7981 GB, free: 484 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.2984, allocations: 7.891 kB / 0.7982 GB, free: 476 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006808/0.2991, allocations: 447.1 kB / 0.7986 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.2993, allocations: 128.7 kB / 0.7987 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.2993, allocations: 4 kB / 0.7987 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.2995, allocations: 15.98 kB / 0.7987 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.2995, allocations: 11.94 kB / 0.7987 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.2995, allocations: 12.06 kB / 0.7987 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002376/0.2998, allocations: 235.2 kB / 0.799 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.1e-07/0.2998, allocations: 3.938 kB / 0.799 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004023/0.3002, allocations: 91.59 kB / 0.7991 GB, free: 15.5 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0009694/0.3012, allocations: 0.9815 MB / 0.8 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005998/0.3018, allocations: 302.9 kB / 0.8003 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3018, allocations: 0 / 0.8003 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.302, allocations: 108.1 kB / 0.8004 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006028/0.3026, allocations: 75.81 kB / 0.8005 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003391/0.306, allocations: 1.81 MB / 0.8023 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005959/0.3066, allocations: 0.7794 MB / 0.803 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001796/0.3068, allocations: 30.22 kB / 0.803 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.3071, allocations: 103.4 kB / 0.8031 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of SimCode: time 1.724e-06/0.3071, allocations: 3.938 kB / 0.8031 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/0.3261, allocations: 6.126 MB / 0.8091 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.3263, allocations: 194.5 kB / 0.8093 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/2.362, allocations: 0 / 0.8093 GB, free: 5.023 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) Environment - environmentSimulation: