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: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007725/0.0007724, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.00083/0.0008302, allocations: 168.7 kB / 15.95 MB, free: 204 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.843/1.843, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.873/1.873, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0005185/0.0005188, allocations: 13.19 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2743, allocations: 116.3 MB / 0.7873 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003003/0.2774, allocations: 2.188 MB / 0.7894 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.279, allocations: 0.8973 MB / 0.7903 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002043/0.2792, allocations: 11.94 kB / 0.7903 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.2794, allocations: 43.58 kB / 0.7904 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.2795, allocations: 39.66 kB / 0.7904 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.28, allocations: 131.8 kB / 0.7905 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000383/0.2804, allocations: 387.7 kB / 0.7909 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002734/0.2806, allocations: 140.4 kB / 0.791 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.2808, allocations: 99.38 kB / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.2809, allocations: 91.31 kB / 0.7912 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.281, allocations: 11.94 kB / 0.7912 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.443e-05/0.281, allocations: 8 kB / 0.7912 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.281, allocations: 39.78 kB / 0.7913 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.231e-05/0.2811, allocations: 89.52 kB / 0.7913 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004478/0.2816, allocations: 499 kB / 0.7918 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.2816, allocations: 4 kB / 0.7918 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.545e-06/0.2816, allocations: 0 / 0.7918 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.2816, allocations: 0 / 0.7918 GB, free: 7.297 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.0009273/0.2825, allocations: 0.5882 MB / 0.7924 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.2826, allocations: 8.031 kB / 0.7924 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.333e-05/0.2827, allocations: 43.48 kB / 0.7925 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004674/0.2832, allocations: 382.2 kB / 0.7928 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.2832, allocations: 20.56 kB / 0.7928 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.181e-05/0.2833, allocations: 24 kB / 0.7929 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005955/0.2839, allocations: 333.3 kB / 0.7932 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.2839, allocations: 4 kB / 0.7932 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.2839, allocations: 12 kB / 0.7932 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.2839, allocations: 4 kB / 0.7932 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004673/0.2844, allocations: 242.2 kB / 0.7934 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.2859, allocations: 1.178 MB / 0.7946 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004752/0.2864, allocations: 250.8 kB / 0.7948 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.2866, allocations: 96.88 kB / 0.7949 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.2866, allocations: 7.984 kB / 0.7949 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.2867, allocations: 34.56 kB / 0.7949 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.895e-06/0.2867, allocations: 4 kB / 0.795 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0006107/0.2873, allocations: 320.3 kB / 0.7953 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.2873, allocations: 89.11 kB / 0.7953 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003699/0.2877, allocations: 333.6 kB / 0.7957 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.2878, allocations: 25.7 kB / 0.7957 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.2879, allocations: 208 kB / 0.7959 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/0.288, allocations: 47.3 kB / 0.7959 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.288, allocations: 4 kB / 0.7959 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2881, allocations: 334.8 kB / 0.7963 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.2883, allocations: 95.95 kB / 0.7963 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.2885, allocations: 119.3 kB / 0.7965 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.2887, allocations: 100 kB / 0.7966 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2887, allocations: 0 / 0.7966 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004556/0.2892, allocations: 272.1 kB / 0.7968 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.555e-05/0.2893, allocations: 102.6 kB / 0.7969 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.2893, allocations: 0 / 0.7969 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.2893, allocations: 7.938 kB / 0.7969 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.2895, allocations: 40.05 kB / 0.797 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.2895, allocations: 0 / 0.797 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.2896, allocations: 27.77 kB / 0.797 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.2896, allocations: 8 kB / 0.797 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.341e-06/0.2896, allocations: 4 kB / 0.797 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003046/0.29, allocations: 175.8 kB / 0.7972 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-06/0.29, allocations: 8 kB / 0.7972 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-06/0.29, allocations: 0 / 0.7972 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.2901, allocations: 35.95 kB / 0.7972 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.2901, allocations: 0 / 0.7972 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.2902, allocations: 19.83 kB / 0.7972 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.2902, allocations: 8 kB / 0.7972 GB, free: 1.496 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.0002375/0.2905, allocations: 249 kB / 0.7975 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.487e-05/0.2905, allocations: 27.62 kB / 0.7975 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.965e-05/0.2906, allocations: 43.28 kB / 0.7975 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.2907, allocations: 3.953 kB / 0.7975 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2907, allocations: 0 / 0.7975 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.2907, allocations: 3.984 kB / 0.7975 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/0.2911, allocations: 405.3 kB / 0.7979 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.2912, allocations: 4 kB / 0.7979 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.2913, allocations: 23.98 kB / 0.798 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2913, allocations: 0 / 0.798 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.2914, allocations: 8 kB / 0.798 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.2914, allocations: 3.938 kB / 0.798 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2914, allocations: 7.953 kB / 0.798 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006935/0.2921, allocations: 451 kB / 0.7984 GB, free: 216 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.2922, allocations: 132.7 kB / 0.7985 GB, free: 64 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/0.2923, allocations: 4 kB / 0.7985 GB, free: 60 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.2924, allocations: 11.98 kB / 0.7985 GB, free: 48 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.2925, allocations: 11.98 kB / 0.7986 GB, free: 36 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.2925, allocations: 7.953 kB / 0.7986 GB, free: 28 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002657/0.2928, allocations: 239.2 kB / 0.7988 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2928, allocations: 0 / 0.7988 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003875/0.2932, allocations: 91.59 kB / 0.7989 GB, free: 15.71 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.0001162/0.2933, allocations: 111.2 kB / 0.799 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005644/0.2938, allocations: 298.8 kB / 0.7993 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2939, allocations: 0 / 0.7993 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.2941, allocations: 95.97 kB / 0.7994 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005804/0.2946, allocations: 87.78 kB / 0.7994 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.2957, allocations: 0.6513 MB / 0.8001 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.2961, allocations: 0.7755 MB / 0.8008 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00013/0.2962, allocations: 38.25 kB / 0.8009 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.111e-05/0.2963, allocations: 19.44 kB / 0.8009 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of SimCode: time 2.7e-07/0.2963, allocations: 0 / 0.8009 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of Templates: time 0.00608/0.3023, allocations: 2.868 MB / 0.8037 GB, free: 10.76 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) Environment - environmentSimulation: