Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 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.Examples.BooleanReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001046/0.001046, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001085/0.001085, allocations: 190.4 kB / 16.25 MB, free: 6.637 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.389/1.389, allocations: 222.9 MB / 239.9 MB, free: 4.531 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 0.9722/0.9722, allocations: 143.1 MB / 433.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001252, allocations: 59.91 kB / 0.5138 GB, free: 11.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2229, allocations: 82.05 MB / 0.5939 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003637/0.2266, allocations: 1.823 MB / 0.5957 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.2285, allocations: 1.006 MB / 0.5967 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.593e-05/0.2286, allocations: 3.938 kB / 0.5967 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006892/0.2293, allocations: 157.3 kB / 0.5968 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.2296, allocations: 103.7 kB / 0.5969 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.23, allocations: 154.6 kB / 0.5971 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.2303, allocations: 167.6 kB / 0.5972 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.2304, allocations: 29.11 kB / 0.5973 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.2305, allocations: 71.64 kB / 0.5973 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.2307, allocations: 71.75 kB / 0.5974 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.2307, allocations: 8 kB / 0.5974 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.2309, allocations: 63.89 kB / 0.5975 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.304e-05/0.2309, allocations: 43.84 kB / 0.5975 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.581e-05/0.231, allocations: 55.67 kB / 0.5976 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.2313, allocations: 195.7 kB / 0.5978 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2313, allocations: 0 / 0.5978 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.644e-06/0.2314, allocations: 4 kB / 0.5978 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.2314, allocations: 4 kB / 0.5978 GB, free: 5.832 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008209/0.2322, allocations: 492.2 kB / 0.5982 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.2323, allocations: 12.03 kB / 0.5982 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.903e-05/0.2323, allocations: 38.73 kB / 0.5983 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.238e-05/0.2324, allocations: 16.75 kB / 0.5983 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.2327, allocations: 252.7 kB / 0.5985 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.2327, allocations: 384 / 0.5985 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.2327, allocations: 11.94 kB / 0.5985 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.233, allocations: 91.31 kB / 0.5986 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.233, allocations: 0 / 0.5986 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.233, allocations: 4 kB / 0.5986 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.233, allocations: 3.984 kB / 0.5986 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.2331, allocations: 39.97 kB / 0.5987 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006239/0.2338, allocations: 360.6 kB / 0.599 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.234, allocations: 70.67 kB / 0.5991 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.615e-05/0.2341, allocations: 32.84 kB / 0.5991 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.2342, allocations: 0 / 0.5991 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002301/0.2344, allocations: 91.31 kB / 0.5992 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.2344, allocations: 0 / 0.5992 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004368/0.2349, allocations: 137.5 kB / 0.5993 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.545e-05/0.2349, allocations: 85.05 kB / 0.5994 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.2353, allocations: 263.5 kB / 0.5997 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.393e-05/0.2353, allocations: 29.7 kB / 0.5997 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.782e-05/0.2354, allocations: 116.1 kB / 0.5998 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.2355, allocations: 27.66 kB / 0.5998 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.508e-05/0.2356, allocations: 37.69 kB / 0.5999 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001969/0.2358, allocations: 322.8 kB / 0.6002 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.299e-05/0.2358, allocations: 27.98 kB / 0.6002 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.033e-05/0.2359, allocations: 55.42 kB / 0.6003 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.2361, allocations: 81.94 kB / 0.6003 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2361, allocations: 32 / 0.6003 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002061/0.2363, allocations: 117.4 kB / 0.6005 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.2363, allocations: 8 kB / 0.6005 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.2364, allocations: 0 / 0.6005 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.2364, allocations: 0 / 0.6005 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.918e-05/0.2365, allocations: 8 kB / 0.6005 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.2365, allocations: 4 kB / 0.6005 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.258e-05/0.2366, allocations: 15.92 kB / 0.6005 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.2366, allocations: 0 / 0.6005 GB, free: 2.77 MB / 0.4981 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 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001679/0.2367, allocations: 146.5 kB / 0.6006 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.2368, allocations: 19.72 kB / 0.6006 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.873e-05/0.2368, allocations: 21.45 kB / 0.6007 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.2369, allocations: 11.92 kB / 0.6007 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2369, allocations: 0 / 0.6007 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2369, allocations: 3.938 kB / 0.6007 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.2371, allocations: 217.5 kB / 0.6009 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2371, allocations: 0 / 0.6009 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.792e-05/0.2372, allocations: 4 kB / 0.6009 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.2372, allocations: 8 kB / 0.6009 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.2372, allocations: 4 kB / 0.6009 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2372, allocations: 0 / 0.6009 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2372, allocations: 0 / 0.6009 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.2375, allocations: 148.8 kB / 0.601 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.2375, allocations: 92.92 kB / 0.6011 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.2376, allocations: 7.938 kB / 0.6011 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.94e-05/0.2376, allocations: 7.984 kB / 0.6011 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.2377, allocations: 7.938 kB / 0.6012 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.2377, allocations: 7.984 kB / 0.6012 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001918/0.2379, allocations: 188.6 kB / 0.6013 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2379, allocations: 0 / 0.6013 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002621/0.2382, allocations: 32 kB / 0.6014 GB, free: 1.758 MB / 0.4981 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 (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.001721/0.2399, allocations: 1.002 MB / 0.6024 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002436/0.2402, allocations: 75.91 kB / 0.6024 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2402, allocations: 0 / 0.6024 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.831e-05/0.2403, allocations: 39.98 kB / 0.6025 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.2406, allocations: 38.66 kB / 0.6025 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3401/0.5807, allocations: 1.971 MB / 0.6044 GB, free: 42.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.5809, allocations: 0.726 MB / 0.6051 GB, free: 42.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.894e-05/0.581, allocations: 22.91 kB / 0.6052 GB, free: 42.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.869e-05/0.5811, allocations: 49.27 kB / 0.6052 GB, free: 42.18 MB / 0.4981 GB Notification: Performance of SimCode: time 6.21e-07/0.5811, allocations: 0 / 0.6052 GB, free: 42.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01357/0.5947, allocations: 4.32 MB / 0.6094 GB, free: 41.81 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/0.5949, allocations: 252.7 kB / 0.6097 GB, free: 41.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.894/2.489, allocations: 0 / 0.6097 GB, free: 41.55 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)