Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_IDEAS_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.001101/0.001101, allocations: 92.08 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.001038/0.001038, 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 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.2 MB / 240 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7287/0.7287, allocations: 132.3 MB / 423.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003089/0.0003089, allocations: 16.22 kB / 0.5035 GB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4186, allocations: 81.57 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.001951/0.4206, allocations: 1.479 MB / 0.5846 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.4222, allocations: 0.9366 MB / 0.5855 GB, free: 2.277 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.839e-05/0.4223, allocations: 1.094 kB / 0.5855 GB, free: 2.277 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006678/0.423, allocations: 151.2 kB / 0.5856 GB, free: 2.234 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002718/0.4233, allocations: 95.09 kB / 0.5857 GB, free: 2.199 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004562/0.4237, allocations: 147.8 kB / 0.5859 GB, free: 2.129 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.424, allocations: 143.4 kB / 0.586 GB, free: 2.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.4241, allocations: 21.69 kB / 0.586 GB, free: 2.059 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.4242, allocations: 57.38 kB / 0.5861 GB, free: 2.039 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.4244, allocations: 63.05 kB / 0.5862 GB, free: 2.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.4244, allocations: 2.562 kB / 0.5862 GB, free: 2.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.4246, allocations: 50.78 kB / 0.5862 GB, free: 2.004 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.454e-05/0.4246, allocations: 40.31 kB / 0.5862 GB, free: 1.988 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.4247, allocations: 48.3 kB / 0.5863 GB, free: 1.941 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.425, allocations: 154.5 kB / 0.5864 GB, free: 1.895 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.425, allocations: 1.219 kB / 0.5864 GB, free: 1.895 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.425, allocations: 0 / 0.5864 GB, free: 1.895 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.425, allocations: 4 kB / 0.5864 GB, free: 1.891 MB / 430.1 MB 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.0005927/0.4256, allocations: 478.1 kB / 0.5869 GB, free: 1.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.4256, allocations: 9.031 kB / 0.5869 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.011e-05/0.4257, allocations: 34.58 kB / 0.5869 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.4257, allocations: 19.67 kB / 0.587 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.426, allocations: 240 kB / 0.5872 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.426, allocations: 3.156 kB / 0.5872 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.426, allocations: 10.89 kB / 0.5872 GB, free: 1.137 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.4262, allocations: 87.61 kB / 0.5873 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.4262, allocations: 0 / 0.5873 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.4262, allocations: 1.094 kB / 0.5873 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.4262, allocations: 7.453 kB / 0.5873 GB, free: 1.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.495e-05/0.4263, allocations: 36.39 kB / 0.5873 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.4268, allocations: 358.1 kB / 0.5877 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.427, allocations: 69.48 kB / 0.5877 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.392e-05/0.427, allocations: 37.12 kB / 0.5878 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.4271, allocations: 2.078 kB / 0.5878 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/0.4272, allocations: 83.5 kB / 0.5879 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.4272, allocations: 0 / 0.5879 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003461/0.4276, allocations: 151.7 kB / 0.588 GB, free: 0.543 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.4276, allocations: 79.2 kB / 0.5881 GB, free: 460 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.4279, allocations: 260.2 kB / 0.5883 GB, free: 304 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.4279, allocations: 31.38 kB / 0.5883 GB, free: 268 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.428, allocations: 113.3 kB / 0.5885 GB, free: 164 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.428, allocations: 21.3 kB / 0.5885 GB, free: 148 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.4281, allocations: 8 kB / 0.5885 GB, free: 140 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.4282, allocations: 325.9 kB / 0.5888 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.135e-05/0.4283, allocations: 29.7 kB / 0.5888 GB, free: 15.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.032e-05/0.4283, allocations: 58.8 kB / 0.5889 GB, free: 15.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.772e-05/0.4284, allocations: 35.8 kB / 0.5889 GB, free: 15.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4284, allocations: 0.9688 kB / 0.5889 GB, free: 15.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002223/0.4287, allocations: 121.5 kB / 0.589 GB, free: 15.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.4287, allocations: 5.5 kB / 0.589 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.4287, allocations: 1.344 kB / 0.589 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.4287, allocations: 4.859 kB / 0.589 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/0.4288, allocations: 15.14 kB / 0.5891 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.4288, allocations: 0.9688 kB / 0.5891 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.646e-05/0.4289, allocations: 9.969 kB / 0.5891 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.4289, allocations: 2.781 kB / 0.5891 GB, free: 15.67 MB / 446.1 MB 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.0001438/0.4291, allocations: 151.3 kB / 0.5892 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.4291, allocations: 19.42 kB / 0.5892 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.334e-05/0.4292, allocations: 17.86 kB / 0.5892 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.4292, allocations: 3.484 kB / 0.5893 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.4292, allocations: 5.578 kB / 0.5893 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4292, allocations: 0.8906 kB / 0.5893 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.4294, allocations: 219 kB / 0.5895 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4294, allocations: 0 / 0.5895 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.334e-05/0.4295, allocations: 4.656 kB / 0.5895 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.4295, allocations: 7.938 kB / 0.5895 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.118e-06/0.4295, allocations: 2.672 kB / 0.5895 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4295, allocations: 0.9062 kB / 0.5895 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4295, allocations: 0.5 kB / 0.5895 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.4297, allocations: 152.3 kB / 0.5896 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.4298, allocations: 99.53 kB / 0.5897 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.4298, allocations: 2.188 kB / 0.5897 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.44e-05/0.4299, allocations: 8.781 kB / 0.5897 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.4299, allocations: 11.3 kB / 0.5897 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.43, allocations: 1.406 kB / 0.5897 GB, free: 15.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001905/0.4302, allocations: 201.4 kB / 0.5899 GB, free: 14.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4302, allocations: 0 / 0.5899 GB, free: 14.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.4304, allocations: 28.12 kB / 0.59 GB, free: 14.95 MB / 446.1 MB 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.001398/0.4318, allocations: 0.9957 MB / 0.5909 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.432, allocations: 73.78 kB / 0.591 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4321, allocations: 0.75 kB / 0.591 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.433e-05/0.4321, allocations: 33.42 kB / 0.591 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.4324, allocations: 32.16 kB / 0.5911 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.4342, allocations: 0.9811 MB / 0.592 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.4345, allocations: 0.7226 MB / 0.5927 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.046e-05/0.4346, allocations: 26.7 kB / 0.5928 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.141e-05/0.4347, allocations: 44.73 kB / 0.5928 GB, free: 12.89 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4347, allocations: 0.6875 kB / 0.5928 GB, free: 12.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.4493, allocations: 3.961 MB / 0.5967 GB, free: 12.09 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/0.4495, allocations: 217.3 kB / 0.5969 GB, free: 11.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/2.143, allocations: 0 / 0.5969 GB, free: 11.85 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) Environment - environmentSimulation: