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.001498/0.001498, allocations: 108 kB / 15.61 MB, free: 152 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.001823/0.001823, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7277/0.7277, allocations: 132.2 MB / 422.6 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 68.84 kB / 0.5019 GB, free: 3.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3149, allocations: 80.2 MB / 0.5802 GB, free: 4.598 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002529/0.3175, allocations: 1.785 MB / 0.5819 GB, free: 3.348 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.3187, allocations: 1.021 MB / 0.5829 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.775e-05/0.3188, allocations: 0.7812 kB / 0.5829 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004973/0.3193, allocations: 164.5 kB / 0.5831 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000242/0.3195, allocations: 114.6 kB / 0.5832 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.3199, allocations: 165.2 kB / 0.5834 GB, free: 2.461 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.32, allocations: 176.8 kB / 0.5835 GB, free: 2.379 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.733e-05/0.3201, allocations: 18.14 kB / 0.5835 GB, free: 2.371 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.772e-05/0.3202, allocations: 71.78 kB / 0.5836 GB, free: 2.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.488e-05/0.3203, allocations: 69.92 kB / 0.5837 GB, free: 2.312 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.3204, allocations: 7.344 kB / 0.5837 GB, free: 2.312 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.3205, allocations: 58.11 kB / 0.5837 GB, free: 2.297 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.906e-05/0.3206, allocations: 43.25 kB / 0.5838 GB, free: 2.277 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.64e-05/0.3206, allocations: 56.61 kB / 0.5838 GB, free: 2.238 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.3209, allocations: 204.1 kB / 0.584 GB, free: 2.152 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.3209, allocations: 4 kB / 0.584 GB, free: 2.148 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3209, allocations: 0 / 0.584 GB, free: 2.148 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.3209, allocations: 0 / 0.584 GB, free: 2.148 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.0004866/0.3214, allocations: 497.8 kB / 0.5845 GB, free: 1.676 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.3214, allocations: 10 kB / 0.5845 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.704e-05/0.3214, allocations: 37.94 kB / 0.5846 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.3215, allocations: 15.91 kB / 0.5846 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.3217, allocations: 250.5 kB / 0.5848 GB, free: 1.387 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3217, allocations: 6.594 kB / 0.5848 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.3217, allocations: 7.625 kB / 0.5848 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.3219, allocations: 87.48 kB / 0.5849 GB, free: 1.316 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.3219, allocations: 0 / 0.5849 GB, free: 1.316 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3219, allocations: 5.797 kB / 0.5849 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.3219, allocations: 2.469 kB / 0.5849 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.021e-05/0.322, allocations: 40.89 kB / 0.5849 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.3224, allocations: 356.8 kB / 0.5853 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.3226, allocations: 82.77 kB / 0.5854 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.958e-05/0.3227, allocations: 32.56 kB / 0.5854 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.3227, allocations: 1.688 kB / 0.5854 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.3228, allocations: 88 kB / 0.5855 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.3228, allocations: 0 / 0.5855 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002898/0.3231, allocations: 140.7 kB / 0.5856 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.3232, allocations: 79.08 kB / 0.5857 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.3234, allocations: 269.8 kB / 0.586 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.3234, allocations: 27.36 kB / 0.586 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/0.3235, allocations: 116.3 kB / 0.5861 GB, free: 400 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.3235, allocations: 21.62 kB / 0.5861 GB, free: 384 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.3235, allocations: 37.72 kB / 0.5861 GB, free: 352 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.258e-05/0.3236, allocations: 329.7 kB / 0.5865 GB, free: 24 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.986e-05/0.3237, allocations: 25.84 kB / 0.5865 GB, free: 16 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.591e-05/0.3238, allocations: 66.25 kB / 0.5865 GB, free: 15.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.3239, allocations: 74.48 kB / 0.5866 GB, free: 15.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3239, allocations: 0 / 0.5866 GB, free: 15.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002051/0.3241, allocations: 115.9 kB / 0.5867 GB, free: 15.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.3241, allocations: 4.719 kB / 0.5867 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3241, allocations: 1.062 kB / 0.5867 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.3242, allocations: 1.062 kB / 0.5867 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.826e-05/0.3242, allocations: 10.23 kB / 0.5867 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3242, allocations: 4.781 kB / 0.5868 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.947e-05/0.3243, allocations: 17.08 kB / 0.5868 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.3243, allocations: 2.594 kB / 0.5868 GB, free: 15.85 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 ($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.0001179/0.3244, allocations: 150 kB / 0.5869 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.3245, allocations: 15.81 kB / 0.5869 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.208e-05/0.3245, allocations: 17.86 kB / 0.5869 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.3245, allocations: 4.375 kB / 0.5869 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3245, allocations: 3.938 kB / 0.587 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3246, allocations: 5.609 kB / 0.587 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.3247, allocations: 218.9 kB / 0.5872 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3248, allocations: 0 / 0.5872 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/0.3248, allocations: 8.031 kB / 0.5872 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3248, allocations: 0.9062 kB / 0.5872 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.3248, allocations: 2.141 kB / 0.5872 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.3248, allocations: 5.719 kB / 0.5872 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3248, allocations: 3.938 kB / 0.5872 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.325, allocations: 151.8 kB / 0.5873 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.3251, allocations: 95.17 kB / 0.5874 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.3251, allocations: 1.625 kB / 0.5874 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.883e-05/0.3252, allocations: 8.422 kB / 0.5874 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.3252, allocations: 12.81 kB / 0.5874 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.3253, allocations: 3.969 kB / 0.5874 GB, free: 15.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001902/0.3254, allocations: 190.3 kB / 0.5876 GB, free: 15.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3255, allocations: 1 kB / 0.5876 GB, free: 15.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.3257, allocations: 31.33 kB / 0.5877 GB, free: 15.13 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 (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.001233/0.3269, allocations: 0.9931 MB / 0.5886 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.3271, allocations: 77.7 kB / 0.5887 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3272, allocations: 0 / 0.5887 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.085e-05/0.3272, allocations: 37.55 kB / 0.5887 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.3275, allocations: 41.33 kB / 0.5888 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.3296, allocations: 1.955 MB / 0.5907 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.3298, allocations: 0.723 MB / 0.5914 GB, free: 12.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.416e-05/0.3299, allocations: 26.42 kB / 0.5914 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.044e-05/0.33, allocations: 48.69 kB / 0.5915 GB, free: 12.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.33, allocations: 3.938 kB / 0.5915 GB, free: 12.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9419/1.272, allocations: 4.39 MB / 0.5958 GB, free: 11.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/15.33, allocations: 11.94 kB / 0.5958 GB, free: 11.04 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/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)