Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test7.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.Test7,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test7,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005916/0.005917, allocations: 1.364 MB / 16.61 MB, free: 4.855 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.842e-05/1.82e-05, allocations: 0 / 23.76 MB, free: 3.594 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007421/0.0007857, allocations: 362.6 kB / 24.11 MB, free: 3.258 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test7): time 0.001082/0.001882, allocations: 1.028 MB / 25.14 MB, free: 2.23 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.003285, allocations: 0.7147 MB / 25.85 MB, free: 1.52 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002782/0.00358, allocations: 3.938 kB / 25.86 MB, free: 1.516 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.00386, allocations: 64.2 kB / 25.92 MB, free: 1.453 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0008581/0.004728, allocations: 234 kB / 26.15 MB, free: 1.227 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001213/0.004862, allocations: 35.91 kB / 26.19 MB, free: 1.191 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0003354/0.005206, allocations: 331 kB / 26.51 MB, free: 0.8672 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.005429, allocations: 155 kB / 26.66 MB, free: 0.7109 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.005589, allocations: 127.2 kB / 26.78 MB, free: 0.5859 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.005759, allocations: 139.1 kB / 26.92 MB, free: 460 kB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 4.159e-05/0.005808, allocations: 8 kB / 26.93 MB, free: 452 kB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.006104, allocations: 219.6 kB / 27.14 MB, free: 232 kB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 8.176e-05/0.006195, allocations: 71.69 kB / 27.21 MB, free: 160 kB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.006308, allocations: 142.9 kB / 27.35 MB, free: 16 kB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0005946/0.006908, allocations: 0.4946 MB / 27.85 MB, free: 4.164 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.006929, allocations: 4 kB / 27.85 MB, free: 4.16 MB / 18.57 MB Notification: Performance of FrontEnd: time 8.12e-07/0.006934, allocations: 0 / 27.85 MB, free: 4.16 MB / 18.57 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.006947, allocations: 0 / 27.85 MB, free: 4.16 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0008831/0.007835, allocations: 0.5978 MB / 28.45 MB, free: 3.504 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.007897, allocations: 11.5 kB / 28.46 MB, free: 3.496 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/0.008056, allocations: 94.69 kB / 28.55 MB, free: 3.395 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.008176, allocations: 40.47 kB / 28.59 MB, free: 3.355 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/0.00865, allocations: 307.7 kB / 28.89 MB, free: 3.016 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/0.008715, allocations: 33.36 kB / 28.92 MB, free: 2.984 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.333e-05/0.008811, allocations: 48.38 kB / 28.97 MB, free: 2.938 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.01009, allocations: 0.6447 MB / 29.62 MB, free: 2.273 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.01013, allocations: 3.938 kB / 29.62 MB, free: 2.27 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.735e-05/0.01019, allocations: 19.98 kB / 29.64 MB, free: 2.25 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-05/0.01029, allocations: 40.97 kB / 29.68 MB, free: 2.211 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009945/0.01129, allocations: 459.7 kB / 30.13 MB, free: 1.762 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/0.01373, allocations: 1.505 MB / 31.63 MB, free: 128 kB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00938/0.02313, allocations: 346.8 kB / 31.97 MB, free: 7.285 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004613/0.02364, allocations: 179.9 kB / 32.15 MB, free: 7.277 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004887/0.02414, allocations: 0.5928 MB / 32.74 MB, free: 6.621 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.0242, allocations: 41.41 kB / 32.78 MB, free: 6.582 MB / 18.57 MB Notification: Performance of pre-optimization done (n=22): time 4.639e-06/0.02421, allocations: 1.25 kB / 32.78 MB, free: 6.582 MB / 18.57 MB Notification: Performance of matching and sorting (n=22): time 0.0013/0.02552, allocations: 0.5346 MB / 33.32 MB, free: 6.52 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.638e-05/0.02561, allocations: 142.7 kB / 33.46 MB, free: 6.363 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.02592, allocations: 222.8 kB / 33.67 MB, free: 6.25 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.02596, allocations: 29.2 kB / 33.7 MB, free: 6.219 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.02618, allocations: 224.9 kB / 33.92 MB, free: 6.082 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 9.442e-05/0.02628, allocations: 72.77 kB / 33.99 MB, free: 6.039 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.0264, allocations: 47.86 kB / 34.04 MB, free: 6.023 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.02652, allocations: 330 kB / 34.36 MB, free: 5.711 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003365/0.02687, allocations: 166.4 kB / 34.52 MB, free: 5.707 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003998/0.02728, allocations: 247.8 kB / 34.77 MB, free: 5.617 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006343/0.02792, allocations: 413.8 kB / 35.17 MB, free: 5.402 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.02794, allocations: 3.625 kB / 35.17 MB, free: 5.402 MB / 18.57 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009884/0.02894, allocations: 0.5361 MB / 35.71 MB, free: 4.93 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.209e-05/0.02901, allocations: 45.69 kB / 35.75 MB, free: 4.879 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.02902, allocations: 3.984 kB / 35.76 MB, free: 4.875 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.02906, allocations: 8.25 kB / 35.77 MB, free: 4.867 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.02928, allocations: 55.09 kB / 35.82 MB, free: 4.816 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.0293, allocations: 3.938 kB / 35.82 MB, free: 4.812 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.02951, allocations: 51.67 kB / 35.87 MB, free: 4.762 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.652e-05/0.02957, allocations: 19.98 kB / 35.89 MB, free: 4.742 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 14 (P1.emptying,$PRE.P1.fireOut[1],P2.feeding,$PRE.P2.fireIn[1],P1.outTransition[1].arcType,T1.activation.fed[1],T1.activation.emptied[1],T1.activation.arcType[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P2.fireIn[1],P1.fireOut[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 (36): * Single equations (assignments): 33 * Array equations: 2 * Algorithm blocks: 1 * 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.0002879/0.02987, allocations: 256.4 kB / 36.14 MB, free: 4.48 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.142e-05/0.02994, allocations: 23.81 kB / 36.17 MB, free: 4.457 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008543/0.03081, allocations: 472.8 kB / 36.63 MB, free: 3.992 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.467e-05/0.03085, allocations: 4 kB / 36.63 MB, free: 3.988 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.03086, allocations: 4.375 kB / 36.64 MB, free: 3.988 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.03088, allocations: 3.984 kB / 36.64 MB, free: 3.984 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.03216, allocations: 0.9243 MB / 37.57 MB, free: 3.008 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.03218, allocations: 0 / 37.57 MB, free: 3.008 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.03236, allocations: 35.92 kB / 37.6 MB, free: 2.973 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.03238, allocations: 3.938 kB / 37.6 MB, free: 2.969 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.03241, allocations: 15.19 kB / 37.62 MB, free: 2.957 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.03242, allocations: 5.781 kB / 37.62 MB, free: 2.953 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.03243, allocations: 0 / 37.62 MB, free: 2.953 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.03352, allocations: 0.7045 MB / 38.33 MB, free: 2.227 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/0.03357, allocations: 100.9 kB / 38.43 MB, free: 2.109 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.219e-05/0.03364, allocations: 12 kB / 38.44 MB, free: 2.098 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.03382, allocations: 28.05 kB / 38.47 MB, free: 2.07 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.03399, allocations: 65.48 kB / 38.53 MB, free: 2.008 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.03403, allocations: 8 kB / 38.54 MB, free: 2 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.000107/0.03414, allocations: 145.6 kB / 38.68 MB, free: 1.859 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.81e-07/0.03415, allocations: 0 / 38.68 MB, free: 1.859 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0006123/0.03477, allocations: 151.1 kB / 38.83 MB, free: 1.719 MB / 18.57 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 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P1.fireOut[1],P2.fireIn[1]) * Number of clocked states: 0 () * 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 (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.001471/0.03625, allocations: 1.331 MB / 40.16 MB, free: 380 kB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.008114/0.04438, allocations: 491.6 kB / 40.64 MB, free: 6.277 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.04442, allocations: 0 / 40.64 MB, free: 6.277 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0004773/0.0449, allocations: 258.3 kB / 40.89 MB, free: 6.215 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.0454, allocations: 38.17 kB / 40.93 MB, free: 6.211 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005283/0.05069, allocations: 3.517 MB / 44.45 MB, free: 4.375 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.05108, allocations: 0.8512 MB / 45.3 MB, free: 9.914 MB / 24.96 MB Notification: Performance of simCode: alias equations: time 0.0002898/0.05139, allocations: 112.5 kB / 45.41 MB, free: 9.82 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.05159, allocations: 129.1 kB / 45.53 MB, free: 9.695 MB / 24.96 MB Notification: Performance of SimCode: time 6.41e-07/0.0516, allocations: 0 / 45.53 MB, free: 9.695 MB / 24.96 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.07325, allocations: 6.546 MB / 52.08 MB, free: 3.184 MB / 24.96 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/0.07354, allocations: 168.6 kB / 52.24 MB, free: 2.918 MB / 24.96 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/1.964, allocations: 0 / 52.24 MB, free: 2.918 MB / 24.96 MB (rm -f ConPNlib_ConPNlib.Examples.Test7.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test7.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test7.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test7.fmu > ConPNlib_ConPNlib.Examples.Test7.pipe 2>&1)