Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.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.IntegerReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator",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.001319/0.001318, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001409, allocations: 197.3 kB / 16.53 MB, free: 6.672 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.566/1.566, allocations: 222.9 MB / 240.2 MB, free: 4.43 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 1.134/1.134, allocations: 143 MB / 433.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001946, allocations: 67.89 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2322, allocations: 82.04 MB / 0.5944 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.004241/0.2365, allocations: 1.764 MB / 0.5961 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.2386, allocations: 1.104 MB / 0.5972 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.2389, allocations: 0 / 0.5972 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000407/0.2393, allocations: 55.75 kB / 0.5972 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.2397, allocations: 83.64 kB / 0.5973 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000733/0.2404, allocations: 229.5 kB / 0.5975 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.2406, allocations: 139.7 kB / 0.5977 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.2408, allocations: 29.09 kB / 0.5977 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.2409, allocations: 67.64 kB / 0.5978 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.241, allocations: 63.75 kB / 0.5978 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.2411, allocations: 8 kB / 0.5978 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.2412, allocations: 67.95 kB / 0.5979 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.19e-05/0.2413, allocations: 35.91 kB / 0.5979 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.518e-05/0.2414, allocations: 63.55 kB / 0.598 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003137/0.2417, allocations: 199.7 kB / 0.5982 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2418, allocations: 0 / 0.5982 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2418, allocations: 0 / 0.5982 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.2418, allocations: 0 / 0.5982 GB, free: 5.609 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000739/0.2425, allocations: 488.3 kB / 0.5986 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.2426, allocations: 8.031 kB / 0.5987 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.502e-05/0.2426, allocations: 38.73 kB / 0.5987 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.433e-05/0.2427, allocations: 20.75 kB / 0.5987 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.2431, allocations: 244.9 kB / 0.5989 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.2431, allocations: 4.375 kB / 0.5989 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.2431, allocations: 11.92 kB / 0.599 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.2434, allocations: 100.1 kB / 0.5991 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.088e-06/0.2434, allocations: 0 / 0.5991 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.2434, allocations: 4 kB / 0.5991 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.2435, allocations: 4 kB / 0.5991 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.2436, allocations: 35.98 kB / 0.5991 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006256/0.2442, allocations: 356.6 kB / 0.5994 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.2445, allocations: 86.69 kB / 0.5995 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.886e-05/0.2445, allocations: 36.84 kB / 0.5996 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.2446, allocations: 0 / 0.5996 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/0.2448, allocations: 79.38 kB / 0.5996 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.963e-06/0.2448, allocations: 0 / 0.5996 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003711/0.2452, allocations: 141.6 kB / 0.5998 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.2453, allocations: 106.8 kB / 0.5999 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.2456, allocations: 271.6 kB / 0.6001 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.2456, allocations: 25.7 kB / 0.6001 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.648e-05/0.2457, allocations: 124 kB / 0.6003 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.2457, allocations: 15.81 kB / 0.6003 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.2458, allocations: 25.7 kB / 0.6003 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.2459, allocations: 330.8 kB / 0.6006 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.046e-05/0.246, allocations: 28 kB / 0.6006 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.2461, allocations: 76.2 kB / 0.6007 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.2462, allocations: 77.73 kB / 0.6008 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2463, allocations: 0 / 0.6008 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002256/0.2465, allocations: 113.4 kB / 0.6009 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2465, allocations: 5.562 kB / 0.6009 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2465, allocations: 0 / 0.6009 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2465, allocations: 4 kB / 0.6009 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.134e-05/0.2466, allocations: 12.03 kB / 0.6009 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.2467, allocations: 7.984 kB / 0.6009 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.722e-05/0.2467, allocations: 7.875 kB / 0.6009 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.2468, allocations: 4 kB / 0.6009 GB, free: 2.496 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: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.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.0001521/0.2469, allocations: 143.2 kB / 0.6011 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.2469, allocations: 19.75 kB / 0.6011 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.202e-05/0.247, allocations: 21.42 kB / 0.6011 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/0.247, allocations: 7.938 kB / 0.6011 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.247, allocations: 4 kB / 0.6011 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.247, allocations: 3.938 kB / 0.6011 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.2472, allocations: 225.5 kB / 0.6013 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2473, allocations: 0 / 0.6013 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.191e-05/0.2473, allocations: 11.98 kB / 0.6014 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2473, allocations: 0 / 0.6014 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.2473, allocations: 0 / 0.6014 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2473, allocations: 0 / 0.6014 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.2473, allocations: 0 / 0.6014 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.2476, allocations: 144.8 kB / 0.6015 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.2476, allocations: 92.92 kB / 0.6016 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.2477, allocations: 4 kB / 0.6016 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.371e-05/0.2477, allocations: 3.984 kB / 0.6016 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.2478, allocations: 11.94 kB / 0.6016 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.2478, allocations: 11.98 kB / 0.6016 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001804/0.248, allocations: 200.3 kB / 0.6018 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.248, allocations: 192 / 0.6018 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002518/0.2483, allocations: 32 kB / 0.6018 GB, free: 1.477 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: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.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.001405/0.2497, allocations: 0.997 MB / 0.6028 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002342/0.2499, allocations: 75.89 kB / 0.6029 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.25, allocations: 4 kB / 0.6029 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.602e-05/0.25, allocations: 36.05 kB / 0.6029 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.2503, allocations: 46.69 kB / 0.603 GB, free: 468 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3049/0.5553, allocations: 1.931 MB / 0.6049 GB, free: 42.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.5555, allocations: 0.7255 MB / 0.6056 GB, free: 42.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001253/0.5557, allocations: 24.52 kB / 0.6056 GB, free: 42.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.375e-05/0.5558, allocations: 48.86 kB / 0.6056 GB, free: 42.2 MB / 0.4981 GB Notification: Performance of SimCode: time 7.81e-07/0.5558, allocations: 1.531 kB / 0.6056 GB, free: 42.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/0.5839, allocations: 4.616 MB / 0.6101 GB, free: 41.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.085/8.669, allocations: 1.641 kB / 0.6101 GB, free: 41.71 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)