Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.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.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_BooleanReplicator",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.00146/0.00146, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.00218/0.00218, allocations: 172.7 kB / 15.95 MB, free: 208 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.754/1.754, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.855/1.855, 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.0005881/0.0005882, allocations: 14.62 kB / 0.6738 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2742, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.001882/0.2761, allocations: 1.47 MB / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.2774, allocations: 0.8756 MB / 0.7897 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.122e-05/0.2775, allocations: 3.938 kB / 0.7897 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005445/0.278, allocations: 147.7 kB / 0.7898 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.2783, allocations: 103.7 kB / 0.7899 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.2787, allocations: 114.9 kB / 0.79 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000203/0.2789, allocations: 151.6 kB / 0.7902 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.279, allocations: 13.11 kB / 0.7902 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.2791, allocations: 71.69 kB / 0.7903 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.2792, allocations: 59.75 kB / 0.7903 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.2793, allocations: 4 kB / 0.7903 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.2794, allocations: 43.98 kB / 0.7904 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.833e-05/0.2795, allocations: 39.83 kB / 0.7904 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.631e-05/0.2795, allocations: 53.58 kB / 0.7905 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.2797, allocations: 140 kB / 0.7906 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.2798, allocations: 0 / 0.7906 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2798, allocations: 0 / 0.7906 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2798, allocations: 0 / 0.7906 GB, free: 8.555 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007267/0.2805, allocations: 484.3 kB / 0.7911 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.2806, allocations: 8.031 kB / 0.7911 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.485e-05/0.2806, allocations: 38.55 kB / 0.7911 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.2807, allocations: 23.67 kB / 0.7911 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.281, allocations: 239.7 kB / 0.7913 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.281, allocations: 4 kB / 0.7914 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.281, allocations: 3.984 kB / 0.7914 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.2812, allocations: 91.38 kB / 0.7914 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.2812, allocations: 4 kB / 0.7914 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.2812, allocations: 3.938 kB / 0.7915 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.2812, allocations: 0 / 0.7915 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.822e-05/0.2813, allocations: 35.98 kB / 0.7915 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.2818, allocations: 348.7 kB / 0.7918 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.2821, allocations: 86.61 kB / 0.7919 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.723e-05/0.2821, allocations: 28.97 kB / 0.7919 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.2822, allocations: 7.922 kB / 0.7919 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.2823, allocations: 79.39 kB / 0.792 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 2.023e-06/0.2824, allocations: 0 / 0.792 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003235/0.2827, allocations: 145.4 kB / 0.7922 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.2827, allocations: 89.09 kB / 0.7922 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.283, allocations: 263.4 kB / 0.7925 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.283, allocations: 25.7 kB / 0.7925 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.973e-05/0.2831, allocations: 120.3 kB / 0.7926 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.2831, allocations: 23.66 kB / 0.7926 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.2831, allocations: 0 / 0.7926 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.533e-05/0.2832, allocations: 334.8 kB / 0.793 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.97e-05/0.2833, allocations: 35.92 kB / 0.793 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.557e-05/0.2834, allocations: 59.42 kB / 0.7931 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.436e-05/0.2835, allocations: 27.98 kB / 0.7931 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2835, allocations: 0 / 0.7931 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001907/0.2837, allocations: 113.4 kB / 0.7932 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.2837, allocations: 14.88 kB / 0.7932 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2837, allocations: 0 / 0.7932 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.2837, allocations: 3.953 kB / 0.7932 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.918e-05/0.2838, allocations: 8 kB / 0.7932 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.2838, allocations: 4 kB / 0.7932 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.589e-05/0.2839, allocations: 15.92 kB / 0.7932 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.2839, allocations: 160 / 0.7932 GB, free: 5.578 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001158/0.284, allocations: 145.8 kB / 0.7934 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.284, allocations: 19.81 kB / 0.7934 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.967e-05/0.2841, allocations: 17.39 kB / 0.7934 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.2841, allocations: 7.953 kB / 0.7934 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2841, allocations: 0 / 0.7934 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2841, allocations: 0 / 0.7934 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.2843, allocations: 221.5 kB / 0.7936 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.2843, allocations: 7.938 kB / 0.7936 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.93e-05/0.2843, allocations: 0 / 0.7936 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2844, allocations: 4 kB / 0.7936 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.2844, allocations: 4 kB / 0.7936 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.2844, allocations: 3.984 kB / 0.7937 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2844, allocations: 11.94 kB / 0.7937 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.2846, allocations: 140.9 kB / 0.7938 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.2847, allocations: 100.9 kB / 0.7939 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.2847, allocations: 3.984 kB / 0.7939 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.838e-05/0.2848, allocations: 4 kB / 0.7939 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.2848, allocations: 7.984 kB / 0.7939 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.2848, allocations: 3.953 kB / 0.7939 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000177/0.285, allocations: 196.6 kB / 0.7941 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.285, allocations: 0 / 0.7941 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000258/0.2853, allocations: 35.98 kB / 0.7941 GB, free: 4.562 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001286/0.2866, allocations: 1.001 MB / 0.7951 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001906/0.2868, allocations: 71.84 kB / 0.7952 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2868, allocations: 0 / 0.7952 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.816e-05/0.2869, allocations: 43.97 kB / 0.7952 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.2871, allocations: 39.19 kB / 0.7953 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.2886, allocations: 0.9683 MB / 0.7962 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.2889, allocations: 0.7278 MB / 0.7969 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.686e-05/0.289, allocations: 21.72 kB / 0.7969 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.492e-05/0.289, allocations: 43.42 kB / 0.797 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.289, allocations: 4 kB / 0.797 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01861/0.3077, allocations: 3.974 MB / 0.8009 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000269/0.308, allocations: 228.8 kB / 0.8011 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.154, allocations: 0 / 0.8011 GB, free: 13.63 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) Environment - environmentSimulation: