Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo", uses=false) Using package ConPNlib with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo) Running command: "" <> buildModelFMU(ConPNlib.Examples.Test3,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test3,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.02557/0.02557, allocations: 1.356 MB / 16.3 MB, free: 5.305 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.725e-05/1.72e-05, allocations: 4 kB / 23.32 MB, free: 3.965 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006958/0.0007408, allocations: 357.8 kB / 23.67 MB, free: 3.805 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.005097/0.005852, allocations: 4.097 MB / 27.77 MB, free: 4.484 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001623/0.006066, allocations: 55.98 kB / 27.82 MB, free: 4.43 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.03547/0.04155, allocations: 5.22 MB / 33.04 MB, free: 4.547 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.664e-06/0.0416, allocations: 3 kB / 33.05 MB, free: 4.547 MB / 18.57 MB Notification: Performance of Transformations before backend: time 1.89e-05/0.04163, allocations: 9.359 kB / 33.06 MB, free: 4.547 MB / 18.57 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0007967/0.04244, allocations: 0.5089 MB / 33.57 MB, free: 4.117 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.04249, allocations: 13.97 kB / 33.58 MB, free: 4.117 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.814e-05/0.04258, allocations: 59.39 kB / 33.64 MB, free: 4.078 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.959e-05/0.04266, allocations: 26.23 kB / 33.66 MB, free: 4.066 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.04305, allocations: 249.5 kB / 33.91 MB, free: 3.867 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/0.04309, allocations: 17.62 kB / 33.92 MB, free: 3.867 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.482e-05/0.04316, allocations: 27.08 kB / 33.95 MB, free: 3.867 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007421/0.04391, allocations: 344 kB / 34.29 MB, free: 3.805 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.04394, allocations: 0 / 34.29 MB, free: 3.805 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.834e-05/0.04399, allocations: 10.58 kB / 34.3 MB, free: 3.801 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.371e-05/0.04404, allocations: 11.66 kB / 34.31 MB, free: 3.801 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005694/0.04462, allocations: 216.9 kB / 34.52 MB, free: 3.801 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.0459, allocations: 0.7327 MB / 35.25 MB, free: 3.406 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.04629, allocations: 138 kB / 35.39 MB, free: 3.379 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004023/0.04671, allocations: 429.2 kB / 35.81 MB, free: 2.91 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.04675, allocations: 39.78 kB / 35.84 MB, free: 2.871 MB / 18.57 MB Notification: Performance of pre-optimization done (n=13): time 2.855e-06/0.04676, allocations: 0 / 35.84 MB, free: 2.871 MB / 18.57 MB Notification: Performance of matching and sorting (n=13): time 0.0009038/0.04768, allocations: 376.4 kB / 36.21 MB, free: 2.707 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.04775, allocations: 109.9 kB / 36.32 MB, free: 2.582 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.04791, allocations: 148.4 kB / 36.46 MB, free: 2.48 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.04795, allocations: 32.36 kB / 36.5 MB, free: 2.449 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 8.61e-05/0.04805, allocations: 147.3 kB / 36.64 MB, free: 2.336 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 5.108e-05/0.04811, allocations: 45.22 kB / 36.68 MB, free: 2.312 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.756e-05/0.04814, allocations: 0 / 36.68 MB, free: 2.312 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 8.947e-05/0.04824, allocations: 324.9 kB / 37 MB, free: 2 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.04846, allocations: 73.06 kB / 37.07 MB, free: 1.996 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.04873, allocations: 129.8 kB / 37.2 MB, free: 1.93 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.04899, allocations: 108.5 kB / 37.31 MB, free: 1.891 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.04901, allocations: 0 / 37.31 MB, free: 1.891 MB / 18.57 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007742/0.04979, allocations: 301.5 kB / 37.6 MB, free: 1.809 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.061e-05/0.04986, allocations: 44.08 kB / 37.64 MB, free: 1.773 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.04988, allocations: 0 / 37.64 MB, free: 1.773 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.04991, allocations: 3.906 kB / 37.65 MB, free: 1.773 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.05013, allocations: 34.34 kB / 37.68 MB, free: 1.766 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.05015, allocations: 7.141 kB / 37.69 MB, free: 1.766 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.05032, allocations: 20.56 kB / 37.71 MB, free: 1.758 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.05037, allocations: 16.69 kB / 37.72 MB, free: 1.758 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.P1.fireIn[1],P1.feeding,P1.emptying,T1.activation.active,T1.activation.weaklyOutputActiveVec[1],P1.fireIn[1],T1.activation.emptied[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 1 * Algorithm blocks: 1 * 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.0002537/0.05063, allocations: 192.3 kB / 37.91 MB, free: 1.609 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.05069, allocations: 11.86 kB / 37.92 MB, free: 1.605 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008497/0.05155, allocations: 329 kB / 38.24 MB, free: 1.512 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.05159, allocations: 2.688 kB / 38.25 MB, free: 1.512 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.0516, allocations: 0 / 38.25 MB, free: 1.512 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.05162, allocations: 0 / 38.25 MB, free: 1.512 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.0527, allocations: 0.603 MB / 38.85 MB, free: 1.18 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.05272, allocations: 5.453 kB / 38.86 MB, free: 1.176 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.05291, allocations: 25.89 kB / 38.88 MB, free: 1.172 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.05293, allocations: 0 / 38.88 MB, free: 1.172 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.05296, allocations: 7.516 kB / 38.89 MB, free: 1.172 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.05297, allocations: 0 / 38.89 MB, free: 1.172 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.05298, allocations: 1.219 kB / 38.89 MB, free: 1.172 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008907/0.05388, allocations: 453.4 kB / 39.33 MB, free: 0.8359 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.05395, allocations: 92.94 kB / 39.42 MB, free: 0.7266 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.05401, allocations: 7.312 kB / 39.43 MB, free: 0.7227 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.05419, allocations: 13.62 kB / 39.44 MB, free: 0.7148 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.05433, allocations: 36.19 kB / 39.48 MB, free: 0.6992 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.05438, allocations: 7 kB / 39.49 MB, free: 0.6953 MB / 18.57 MB Notification: Performance of sorting global known variables: time 9.678e-05/0.05449, allocations: 117 kB / 39.6 MB, free: 0.5977 MB / 18.57 MB Notification: Performance of sort global known variables: time 3.81e-07/0.0545, allocations: 0 / 39.6 MB, free: 0.5977 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0005303/0.05504, allocations: 94.58 kB / 39.69 MB, free: 0.5195 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P1.t_) * Number of discrete variables: 4 (T1.activation.active,T1.activation.weaklyOutputActiveVec[1],P1.fireIn[1],P1.feeding) * Number of discrete states: 3 (P1.fireIn[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.active) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.01488/0.06993, allocations: 1.041 MB / 40.73 MB, free: 3.023 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0006793/0.07066, allocations: 266.9 kB / 40.99 MB, free: 2.961 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.07068, allocations: 0 / 40.99 MB, free: 2.961 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.07098, allocations: 155.9 kB / 41.15 MB, free: 2.898 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.07128, allocations: 16.58 kB / 41.16 MB, free: 2.898 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.07381, allocations: 2.078 MB / 43.24 MB, free: 1.484 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.07411, allocations: 0.7682 MB / 44.01 MB, free: 0.7891 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.000233/0.07436, allocations: 68.69 kB / 44.08 MB, free: 0.7891 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.07453, allocations: 74.91 kB / 44.15 MB, free: 0.7812 MB / 18.57 MB Notification: Performance of SimCode: time 2.245e-06/0.07454, allocations: 0 / 44.15 MB, free: 0.7812 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03104/0.1056, allocations: 4.034 MB / 48.18 MB, free: 5.02 MB / 24.77 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/0.1059, allocations: 141.9 kB / 48.32 MB, free: 4.777 MB / 24.77 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.429/2.535, allocations: 4.062 kB / 48.33 MB, free: 4.773 MB / 24.77 MB (rm -f ConPNlib_ConPNlib.Examples.Test3.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test3.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test3.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test3.fmu > ConPNlib_ConPNlib.Examples.Test3.pipe 2>&1)