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.001109/0.001109, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001249/0.001249, allocations: 195.4 kB / 16.14 MB, free: 6.707 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.285/1.285, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7147/0.7147, allocations: 132.2 MB / 422.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 63.34 kB / 0.5012 GB, free: 9.098 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1379, allocations: 80.2 MB / 0.5795 GB, free: 9.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.00246/0.1404, allocations: 1.845 MB / 0.5813 GB, free: 7.258 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1416, allocations: 1.003 MB / 0.5823 GB, free: 6.246 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.551e-05/0.1416, allocations: 4 kB / 0.5823 GB, free: 6.242 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003886/0.142, allocations: 158.7 kB / 0.5824 GB, free: 6.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.1422, allocations: 99.69 kB / 0.5825 GB, free: 5.992 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.1425, allocations: 150.3 kB / 0.5827 GB, free: 5.848 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.1427, allocations: 167.6 kB / 0.5828 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.745e-05/0.1428, allocations: 28.81 kB / 0.5829 GB, free: 5.656 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.576e-05/0.1428, allocations: 67.69 kB / 0.5829 GB, free: 5.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.828e-05/0.1429, allocations: 63.69 kB / 0.583 GB, free: 5.527 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.1429, allocations: 4 kB / 0.583 GB, free: 5.523 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.933e-05/0.143, allocations: 51.97 kB / 0.583 GB, free: 5.473 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.153e-05/0.1431, allocations: 39.84 kB / 0.5831 GB, free: 5.434 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.523e-05/0.1432, allocations: 59.53 kB / 0.5831 GB, free: 5.375 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.1434, allocations: 191.7 kB / 0.5833 GB, free: 5.188 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.1434, allocations: 0 / 0.5833 GB, free: 5.188 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.51e-07/0.1434, allocations: 0 / 0.5833 GB, free: 5.188 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.945e-06/0.1434, allocations: 4 kB / 0.5833 GB, free: 5.184 MB / 494.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.0004764/0.1439, allocations: 496.3 kB / 0.5838 GB, free: 4.645 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.687e-05/0.1439, allocations: 8.031 kB / 0.5838 GB, free: 4.637 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.475e-05/0.1439, allocations: 42.72 kB / 0.5838 GB, free: 4.586 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.144, allocations: 20.75 kB / 0.5839 GB, free: 4.566 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.1442, allocations: 245.4 kB / 0.5841 GB, free: 4.289 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1442, allocations: 8.375 kB / 0.5841 GB, free: 4.281 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.1442, allocations: 3.938 kB / 0.5841 GB, free: 4.277 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.1444, allocations: 99.08 kB / 0.5842 GB, free: 4.172 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.318e-06/0.1444, allocations: 0 / 0.5842 GB, free: 4.172 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1444, allocations: 4 kB / 0.5842 GB, free: 4.168 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.1444, allocations: 4 kB / 0.5842 GB, free: 4.164 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.404e-05/0.1445, allocations: 39.84 kB / 0.5842 GB, free: 4.125 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.1449, allocations: 344.8 kB / 0.5846 GB, free: 3.738 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.1451, allocations: 82.59 kB / 0.5847 GB, free: 3.648 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.046e-05/0.1451, allocations: 36.84 kB / 0.5847 GB, free: 3.609 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.1452, allocations: 4 kB / 0.5847 GB, free: 3.605 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.1453, allocations: 87.27 kB / 0.5848 GB, free: 3.508 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.1453, allocations: 4 kB / 0.5848 GB, free: 3.504 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002713/0.1456, allocations: 141.7 kB / 0.5849 GB, free: 3.359 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.1456, allocations: 81.05 kB / 0.585 GB, free: 3.262 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.1458, allocations: 263.1 kB / 0.5852 GB, free: 2.996 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.1459, allocations: 25.7 kB / 0.5853 GB, free: 2.965 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/0.1459, allocations: 120.1 kB / 0.5854 GB, free: 2.844 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.146, allocations: 27.64 kB / 0.5854 GB, free: 2.816 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.146, allocations: 25.7 kB / 0.5854 GB, free: 2.785 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.1461, allocations: 330.8 kB / 0.5857 GB, free: 2.453 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.952e-05/0.1462, allocations: 27.98 kB / 0.5858 GB, free: 2.426 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.301e-05/0.1462, allocations: 63.36 kB / 0.5858 GB, free: 2.352 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.1464, allocations: 69.69 kB / 0.5859 GB, free: 2.277 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1464, allocations: 0 / 0.5859 GB, free: 2.277 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001729/0.1465, allocations: 113.5 kB / 0.586 GB, free: 2.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.1466, allocations: 7.984 kB / 0.586 GB, free: 2.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1466, allocations: 0 / 0.586 GB, free: 2.152 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.1466, allocations: 4 kB / 0.586 GB, free: 2.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.089e-05/0.1466, allocations: 15.94 kB / 0.586 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.1467, allocations: 0 / 0.586 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.415e-05/0.1467, allocations: 11.84 kB / 0.586 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.1467, allocations: 4 kB / 0.586 GB, free: 2.117 MB / 494.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 ($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.0001034/0.1468, allocations: 150.5 kB / 0.5862 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.1469, allocations: 19.75 kB / 0.5862 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.331e-05/0.1469, allocations: 13.41 kB / 0.5862 GB, free: 1.926 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-06/0.1469, allocations: 7.984 kB / 0.5862 GB, free: 1.918 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1469, allocations: 0 / 0.5862 GB, free: 1.918 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.1469, allocations: 3.938 kB / 0.5862 GB, free: 1.914 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.1471, allocations: 229.6 kB / 0.5865 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1471, allocations: 3.938 kB / 0.5865 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.112e-05/0.1471, allocations: 8 kB / 0.5865 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1471, allocations: 0 / 0.5865 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.1472, allocations: 4 kB / 0.5865 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1472, allocations: 3.938 kB / 0.5865 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1472, allocations: 0 / 0.5865 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.1474, allocations: 144.8 kB / 0.5866 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/0.1474, allocations: 92.92 kB / 0.5867 GB, free: 1.352 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.1474, allocations: 0 / 0.5867 GB, free: 1.352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.125e-05/0.1475, allocations: 7.984 kB / 0.5867 GB, free: 1.344 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.1475, allocations: 7.938 kB / 0.5867 GB, free: 1.336 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.1475, allocations: 4 kB / 0.5867 GB, free: 1.332 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001559/0.1477, allocations: 208.3 kB / 0.5869 GB, free: 1.129 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1477, allocations: 0 / 0.5869 GB, free: 1.129 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002133/0.1479, allocations: 24 kB / 0.5869 GB, free: 1.105 MB / 494.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 (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.001162/0.1491, allocations: 0.9988 MB / 0.5879 GB, free: 268 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.1493, allocations: 67.97 kB / 0.588 GB, free: 200 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1493, allocations: 0 / 0.588 GB, free: 200 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.588e-05/0.1494, allocations: 39.92 kB / 0.588 GB, free: 160 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.1496, allocations: 43.69 kB / 0.5881 GB, free: 116 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.1514, allocations: 1.972 MB / 0.59 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.1516, allocations: 0.7165 MB / 0.5907 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.305e-05/0.1517, allocations: 29.7 kB / 0.5907 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.3e-05/0.1517, allocations: 51.34 kB / 0.5908 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1518, allocations: 0 / 0.5908 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.678/2.83, allocations: 4.197 MB / 0.5949 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002933/2.83, allocations: 229.8 kB / 0.5951 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/4.748, allocations: 0 / 0.5951 GB, free: 8.926 MB / 0.4981 GB (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/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)