Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_dev_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.001051/0.001051, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007617/0.007617, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8596/0.8596, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003702, allocations: 8.594 kB / 0.5077 GB, free: 4.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1223, allocations: 82.31 MB / 0.5881 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.00153/0.1239, allocations: 1.49 MB / 0.5895 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1251, allocations: 0.9793 MB / 0.5905 GB, free: 20 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.722e-05/0.1252, allocations: 3.938 kB / 0.5905 GB, free: 16 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000414/0.1256, allocations: 160.1 kB / 0.5906 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.1258, allocations: 95.69 kB / 0.5907 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.1262, allocations: 146.4 kB / 0.5909 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000162/0.1264, allocations: 171.6 kB / 0.591 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.785e-05/0.1264, allocations: 29.09 kB / 0.5911 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.132e-05/0.1265, allocations: 67.62 kB / 0.5911 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.251e-05/0.1266, allocations: 59.77 kB / 0.5912 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.1266, allocations: 4 kB / 0.5912 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.1267, allocations: 55.89 kB / 0.5912 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.803e-05/0.1268, allocations: 35.91 kB / 0.5913 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.064e-05/0.1269, allocations: 77.31 kB / 0.5914 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.127, allocations: 187.2 kB / 0.5915 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1271, allocations: 3.984 kB / 0.5915 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1271, allocations: 4 kB / 0.5915 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.145e-06/0.1271, allocations: 4 kB / 0.5915 GB, free: 14.93 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.0004563/0.1275, allocations: 482.2 kB / 0.592 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.428e-05/0.1276, allocations: 8.031 kB / 0.592 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.931e-05/0.1276, allocations: 34.75 kB / 0.592 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.1276, allocations: 16.75 kB / 0.5921 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.1278, allocations: 244.9 kB / 0.5923 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.1279, allocations: 4.375 kB / 0.5923 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.1279, allocations: 7.922 kB / 0.5923 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.128, allocations: 91.33 kB / 0.5924 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.087e-06/0.128, allocations: 4 kB / 0.5924 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.1281, allocations: 0 / 0.5924 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.1281, allocations: 3.984 kB / 0.5924 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.471e-05/0.1282, allocations: 31.98 kB / 0.5924 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.1285, allocations: 360.6 kB / 0.5928 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.1287, allocations: 70.67 kB / 0.5928 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.077e-05/0.1288, allocations: 40.78 kB / 0.5929 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.1288, allocations: 4 kB / 0.5929 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.1289, allocations: 87.31 kB / 0.593 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.1289, allocations: 0 / 0.593 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0002564/0.1292, allocations: 141.5 kB / 0.5931 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.1292, allocations: 81.05 kB / 0.5932 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.1294, allocations: 270.9 kB / 0.5934 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.1295, allocations: 25.7 kB / 0.5935 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.253e-05/0.1295, allocations: 120 kB / 0.5936 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.1296, allocations: 19.75 kB / 0.5936 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.1296, allocations: 25.7 kB / 0.5936 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.892e-05/0.1297, allocations: 322.8 kB / 0.5939 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.666e-05/0.1297, allocations: 27.98 kB / 0.594 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.176e-05/0.1298, allocations: 59.42 kB / 0.594 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.1299, allocations: 73.62 kB / 0.5941 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1299, allocations: 32 / 0.5941 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001759/0.1301, allocations: 125.8 kB / 0.5942 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.1301, allocations: 7.938 kB / 0.5942 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.1301, allocations: 0 / 0.5942 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.931e-06/0.1302, allocations: 0 / 0.5942 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.617e-05/0.1302, allocations: 12 kB / 0.5942 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.055e-06/0.1302, allocations: 0 / 0.5942 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.756e-05/0.1303, allocations: 15.78 kB / 0.5942 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.1303, allocations: 7.984 kB / 0.5942 GB, free: 11.89 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 9.674e-05/0.1304, allocations: 146.5 kB / 0.5944 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.1304, allocations: 15.81 kB / 0.5944 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.402e-05/0.1305, allocations: 21.41 kB / 0.5944 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.1305, allocations: 3.984 kB / 0.5944 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.1305, allocations: 0 / 0.5944 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.1305, allocations: 11.92 kB / 0.5944 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.1307, allocations: 217.6 kB / 0.5946 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1307, allocations: 0 / 0.5946 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-05/0.1307, allocations: 4 kB / 0.5946 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1307, allocations: 4 kB / 0.5946 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.1307, allocations: 3.938 kB / 0.5947 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1307, allocations: 0 / 0.5947 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1307, allocations: 4 kB / 0.5947 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.1309, allocations: 152.8 kB / 0.5948 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/0.131, allocations: 96.81 kB / 0.5949 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.131, allocations: 8 kB / 0.5949 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.708e-05/0.1311, allocations: 4 kB / 0.5949 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.1311, allocations: 11.92 kB / 0.5949 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.1311, allocations: 4 kB / 0.5949 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001489/0.1313, allocations: 192.6 kB / 0.5951 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1313, allocations: 0 / 0.5951 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002146/0.1315, allocations: 31.98 kB / 0.5951 GB, free: 10.88 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.001124/0.1326, allocations: 0.9985 MB / 0.5961 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.1328, allocations: 67.91 kB / 0.5962 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1328, allocations: 0 / 0.5962 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.163e-05/0.1329, allocations: 39.98 kB / 0.5962 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.1331, allocations: 47.88 kB / 0.5963 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.1349, allocations: 1.98 MB / 0.5982 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.1351, allocations: 0.7204 MB / 0.5989 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.344e-05/0.1352, allocations: 17.42 kB / 0.5989 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.178e-05/0.1352, allocations: 47.41 kB / 0.599 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1352, allocations: 4 kB / 0.599 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.671/2.806, allocations: 4.01 MB / 0.6029 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/2.807, allocations: 236.8 kB / 0.6031 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/4.382, allocations: 0 / 0.6031 GB, free: 2.879 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_BooleanReplicator.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)