Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_latest_Buildings_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.00149/0.001491, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001645/0.001645, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.604/2.604, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.402/4.402, allocations: 409.2 MB / 0.6838 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004037/0.0004041, allocations: 19.98 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.305/1.306, allocations: 146.8 MB / 0.9809 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003596/1.309, allocations: 1.453 MB / 0.9823 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002619/1.312, allocations: 0.9913 MB / 0.9832 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/1.312, allocations: 0 / 0.9832 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004391/1.313, allocations: 47.81 kB / 0.9833 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003214/1.313, allocations: 71.77 kB / 0.9834 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009533/1.314, allocations: 182.5 kB / 0.9835 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002877/1.314, allocations: 87.83 kB / 0.9836 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/1.314, allocations: 25.06 kB / 0.9836 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/1.315, allocations: 55.77 kB / 0.9837 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/1.315, allocations: 47.83 kB / 0.9837 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/1.315, allocations: 4 kB / 0.9837 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/1.315, allocations: 43.91 kB / 0.9838 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/1.315, allocations: 35.89 kB / 0.9838 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.68e-05/1.315, allocations: 45.64 kB / 0.9839 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003464/1.316, allocations: 149.9 kB / 0.984 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/1.316, allocations: 4 kB / 0.984 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.605e-06/1.316, allocations: 0 / 0.984 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.772e-06/1.316, allocations: 0 / 0.984 GB, free: 3.066 MB / 0.7325 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.001006/1.317, allocations: 469.8 kB / 0.9845 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/1.317, allocations: 8.031 kB / 0.9845 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.371e-05/1.317, allocations: 34.56 kB / 0.9845 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.484e-05/1.317, allocations: 19.8 kB / 0.9845 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005206/1.317, allocations: 239.8 kB / 0.9847 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/1.317, allocations: 11.94 kB / 0.9848 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/1.317, allocations: 4 kB / 0.9848 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003293/1.318, allocations: 100.1 kB / 0.9849 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/1.318, allocations: 0 / 0.9849 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/1.318, allocations: 7.984 kB / 0.9849 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.768e-05/1.318, allocations: 0 / 0.9849 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/1.318, allocations: 31.98 kB / 0.9849 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008799/1.319, allocations: 364.6 kB / 0.9852 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003309/1.319, allocations: 86.66 kB / 0.9853 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.578e-05/1.319, allocations: 0 / 0.9853 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003356/1.32, allocations: 83.47 kB / 0.9854 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.753e-06/1.32, allocations: 0 / 0.9854 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0006257/1.32, allocations: 214.6 kB / 0.9856 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/1.32, allocations: 106.8 kB / 0.9857 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003983/1.321, allocations: 259 kB / 0.986 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/1.321, allocations: 29.7 kB / 0.986 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/1.321, allocations: 124.1 kB / 0.9861 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/1.321, allocations: 19.73 kB / 0.9861 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/1.321, allocations: 4 kB / 0.9861 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000205/1.321, allocations: 326.8 kB / 0.9864 GB, free: 316 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/1.321, allocations: 23.98 kB / 0.9865 GB, free: 292 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/1.322, allocations: 76.2 kB / 0.9865 GB, free: 200 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/1.322, allocations: 32 kB / 0.9866 GB, free: 168 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.322, allocations: 3.953 kB / 0.9866 GB, free: 164 kB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003157/1.322, allocations: 113.4 kB / 0.9867 GB, free: 44 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/1.322, allocations: 7.984 kB / 0.9867 GB, free: 36 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/1.322, allocations: 4 kB / 0.9867 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/1.322, allocations: 0 / 0.9867 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/1.322, allocations: 12 kB / 0.9867 GB, free: 20 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/1.322, allocations: 400 / 0.9867 GB, free: 20 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/1.322, allocations: 11.89 kB / 0.9867 GB, free: 8 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/1.323, allocations: 0 / 0.9867 GB, free: 8 kB / 0.7325 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 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.y,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * 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.0002099/1.323, allocations: 153.7 kB / 0.9869 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/1.323, allocations: 19.77 kB / 0.9869 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.446e-05/1.323, allocations: 21.39 kB / 0.9869 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/1.323, allocations: 0 / 0.9869 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.323, allocations: 192 / 0.9869 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.323, allocations: 48 / 0.9869 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/1.323, allocations: 237.4 kB / 0.9871 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.323, allocations: 0 / 0.9871 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.15e-05/1.323, allocations: 7.953 kB / 0.9871 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/1.323, allocations: 0 / 0.9871 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/1.323, allocations: 7.984 kB / 0.9871 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/1.323, allocations: 7.984 kB / 0.9871 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.323, allocations: 0 / 0.9871 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/1.324, allocations: 136.9 kB / 0.9873 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/1.324, allocations: 96.91 kB / 0.9874 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/1.324, allocations: 3.953 kB / 0.9874 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/1.324, allocations: 11.98 kB / 0.9874 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/1.324, allocations: 11.94 kB / 0.9874 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/1.324, allocations: 7.984 kB / 0.9874 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002088/1.324, allocations: 188.6 kB / 0.9876 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.5e-07/1.324, allocations: 0 / 0.9876 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002829/1.325, allocations: 35.98 kB / 0.9876 GB, free: 14.98 MB / 0.7481 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 (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.001805/1.326, allocations: 1 MB / 0.9886 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002757/1.327, allocations: 67.91 kB / 0.9887 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.327, allocations: 0 / 0.9887 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.895e-05/1.327, allocations: 35.98 kB / 0.9887 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/1.327, allocations: 33.8 kB / 0.9887 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/1.329, allocations: 1.11 MB / 0.9898 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005076/1.33, allocations: 0.7282 MB / 0.9905 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001408/1.33, allocations: 25.38 kB / 0.9905 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/1.33, allocations: 47.42 kB / 0.9906 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of SimCode: time 9.21e-07/1.33, allocations: 3.938 kB / 0.9906 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02728/1.358, allocations: 4.129 MB / 0.9946 GB, free: 8.008 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003554/1.358, allocations: 221.9 kB / 0.9948 GB, free: 7.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.959/4.317, allocations: 0 / 0.9948 GB, free: 7.77 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_IntegerReplicator.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat does not exist to compare? outputFormat=mat