Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test6.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.Test6,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test6,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.008362/0.008366, allocations: 1.338 MB / 8.814 MB, free: 244 kB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 1.785e-05/1.792e-05, allocations: 6.016 kB / 13.23 MB, free: 2.203 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006834/0.0007365, allocations: 354.2 kB / 13.58 MB, free: 2.172 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.005085/0.005841, allocations: 3.351 MB / 16.93 MB, free: 1.785 MB / 10.45 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001444/0.00604, allocations: 48.95 kB / 16.98 MB, free: 1.738 MB / 10.45 MB Notification: Performance of FrontEnd - DAE generated: time 0.03557/0.04163, allocations: 6.861 MB / 23.84 MB, free: 240 kB / 10.45 MB Notification: Performance of FrontEnd: time 2.064e-06/0.04167, allocations: 0 / 23.84 MB, free: 240 kB / 10.45 MB Notification: Performance of Transformations before backend: time 2.975e-05/0.04171, allocations: 8 kB / 23.85 MB, free: 232 kB / 10.45 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.00956/0.05128, allocations: 0.6186 MB / 24.47 MB, free: 372 kB / 10.45 MB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/0.05139, allocations: 10.88 kB / 24.48 MB, free: 372 kB / 10.45 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002554/0.05166, allocations: 39.77 kB / 24.52 MB, free: 352 kB / 10.45 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006801/0.05236, allocations: 315.9 kB / 24.82 MB, free: 3.641 MB / 13.95 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.315e-05/0.05243, allocations: 16.84 kB / 24.84 MB, free: 3.641 MB / 13.95 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.897e-05/0.05254, allocations: 35.17 kB / 24.88 MB, free: 3.641 MB / 13.95 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001212/0.05376, allocations: 387.6 kB / 25.25 MB, free: 3.641 MB / 13.95 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.05506, allocations: 0.5362 MB / 25.79 MB, free: 3.559 MB / 13.95 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.05512, allocations: 0 / 25.79 MB, free: 3.559 MB / 13.95 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.033e-05/0.05519, allocations: 7.641 kB / 25.8 MB, free: 3.555 MB / 13.95 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.739e-05/0.05529, allocations: 32.88 kB / 25.83 MB, free: 3.555 MB / 13.95 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002343/0.05765, allocations: 1.047 MB / 26.88 MB, free: 3.152 MB / 13.95 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005402/0.05824, allocations: 290.6 kB / 27.16 MB, free: 3.031 MB / 13.95 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/0.05855, allocations: 154 kB / 27.31 MB, free: 3.012 MB / 13.95 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008141/0.05938, allocations: 0.6006 MB / 27.91 MB, free: 2.352 MB / 13.95 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/0.05944, allocations: 42.28 kB / 27.95 MB, free: 2.305 MB / 13.95 MB Notification: Performance of pre-optimization done (n=22): time 3.397e-06/0.05946, allocations: 0 / 27.95 MB, free: 2.305 MB / 13.95 MB Notification: Performance of matching and sorting (n=22): time 0.0009328/0.0604, allocations: 265.3 kB / 28.21 MB, free: 2.211 MB / 13.95 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.06053, allocations: 143.8 kB / 28.35 MB, free: 2.051 MB / 13.95 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.06081, allocations: 175.5 kB / 28.52 MB, free: 1.918 MB / 13.95 MB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.06087, allocations: 30.98 kB / 28.55 MB, free: 1.887 MB / 13.95 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.06109, allocations: 222.1 kB / 28.77 MB, free: 1.711 MB / 13.95 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.06121, allocations: 72.78 kB / 28.84 MB, free: 1.66 MB / 13.95 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.74e-05/0.06125, allocations: 2.719 kB / 28.84 MB, free: 1.66 MB / 13.95 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.06144, allocations: 327.3 kB / 29.16 MB, free: 1.34 MB / 13.95 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.06175, allocations: 129.4 kB / 29.29 MB, free: 1.293 MB / 13.95 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004103/0.06217, allocations: 229.9 kB / 29.52 MB, free: 1.105 MB / 13.95 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004937/0.06268, allocations: 143.6 kB / 29.66 MB, free: 1 MB / 13.95 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.0627, allocations: 7.156 kB / 29.66 MB, free: 0.9961 MB / 13.95 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001129/0.06384, allocations: 374.3 kB / 30.03 MB, free: 0.6758 MB / 13.95 MB Notification: Performance of prepare postOptimizeDAE: time 9.565e-05/0.06396, allocations: 51.3 kB / 30.08 MB, free: 0.625 MB / 13.95 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.06399, allocations: 11.94 kB / 30.09 MB, free: 0.6133 MB / 13.95 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.06402, allocations: 4 kB / 30.09 MB, free: 0.6094 MB / 13.95 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.06438, allocations: 50.16 kB / 30.14 MB, free: 0.5703 MB / 13.95 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.06441, allocations: 13.27 kB / 30.16 MB, free: 0.5586 MB / 13.95 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003126/0.06473, allocations: 33.09 kB / 30.19 MB, free: 0.5312 MB / 13.95 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.764e-05/0.06481, allocations: 23.33 kB / 30.21 MB, free: 0.5117 MB / 13.95 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.feeding,P1.outTransition[1].arcType,P2.emptying,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.emptied[1],T1.activation.arcType[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 2 * 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.0002471/0.06507, allocations: 176.4 kB / 30.38 MB, free: 344 kB / 13.95 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008952/0.06598, allocations: 287.6 kB / 30.66 MB, free: 92 kB / 13.95 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.978e-05/0.06607, allocations: 19.81 kB / 30.68 MB, free: 72 kB / 13.95 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/0.07734, allocations: 361.3 kB / 31.04 MB, free: 3.141 MB / 13.95 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.935e-05/0.07742, allocations: 11.98 kB / 31.05 MB, free: 3.141 MB / 13.95 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.07744, allocations: 0 / 31.05 MB, free: 3.141 MB / 13.95 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.07746, allocations: 0 / 31.05 MB, free: 3.141 MB / 13.95 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.07948, allocations: 0.6813 MB / 31.73 MB, free: 2.875 MB / 13.95 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.07954, allocations: 0.75 kB / 31.73 MB, free: 2.875 MB / 13.95 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004405/0.08, allocations: 39.02 kB / 31.77 MB, free: 2.875 MB / 13.95 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.08004, allocations: 0 / 31.77 MB, free: 2.875 MB / 13.95 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.41e-05/0.08012, allocations: 11.91 kB / 31.78 MB, free: 2.875 MB / 13.95 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.08014, allocations: 0 / 31.78 MB, free: 2.875 MB / 13.95 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.08015, allocations: 0 / 31.78 MB, free: 2.875 MB / 13.95 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/0.08218, allocations: 0.5549 MB / 32.33 MB, free: 2.738 MB / 13.95 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.08235, allocations: 97.8 kB / 32.43 MB, free: 2.645 MB / 13.95 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.08253, allocations: 7.219 kB / 32.44 MB, free: 2.645 MB / 13.95 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005508/0.08311, allocations: 25.33 kB / 32.46 MB, free: 2.645 MB / 13.95 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003416/0.08347, allocations: 59.84 kB / 32.52 MB, free: 2.645 MB / 13.95 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.033e-05/0.08358, allocations: 13.75 kB / 32.53 MB, free: 2.645 MB / 13.95 MB Notification: Performance of sorting global known variables: time 0.0001789/0.08377, allocations: 125.2 kB / 32.66 MB, free: 2.566 MB / 13.95 MB Notification: Performance of sort global known variables: time 1.102e-06/0.08379, allocations: 0 / 32.66 MB, free: 2.566 MB / 13.95 MB Notification: Performance of remove unused functions: time 0.001414/0.08522, allocations: 150.8 kB / 32.8 MB, free: 2.566 MB / 13.95 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 7 (P1.fireOut[1],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1]) * Number of discrete states: 5 (P2.fireIn[1],P1.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 2 * 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.003034/0.08831, allocations: 1.181 MB / 33.98 MB, free: 1.906 MB / 13.95 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.08992, allocations: 434.2 kB / 34.41 MB, free: 1.84 MB / 13.95 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.09, allocations: 0 / 34.41 MB, free: 1.84 MB / 13.95 MB Notification: Performance of simCode: created simulation system equations: time 0.0005972/0.09061, allocations: 243.7 kB / 34.65 MB, free: 1.777 MB / 13.95 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005807/0.09122, allocations: 19.44 kB / 34.67 MB, free: 1.777 MB / 13.95 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.09423, allocations: 0.7038 MB / 35.37 MB, free: 1.434 MB / 13.95 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005108/0.0948, allocations: 0.8581 MB / 36.23 MB, free: 0.6172 MB / 13.95 MB Notification: Performance of simCode: alias equations: time 0.0005532/0.09538, allocations: 80.38 kB / 36.31 MB, free: 0.5742 MB / 13.95 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003682/0.09577, allocations: 121.4 kB / 36.42 MB, free: 484 kB / 13.95 MB Notification: Performance of SimCode: time 1.744e-06/0.0958, allocations: 0 / 36.42 MB, free: 484 kB / 13.95 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06947/0.1653, allocations: 6.209 MB / 42.63 MB, free: 3.965 MB / 18.6 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002509/0.1656, allocations: 98.61 kB / 42.73 MB, free: 3.867 MB / 18.6 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.818/2.984, allocations: 1.859 kB / 42.73 MB, free: 3.867 MB / 18.6 MB (rm -f ConPNlib_ConPNlib.Examples.Test6.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test6.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test6.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test6.fmu > ConPNlib_ConPNlib.Examples.Test6.pipe 2>&1)