Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test11.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.Test11,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test11,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.00855/0.00855, allocations: 1.363 MB / 16.33 MB, free: 5.344 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.547e-05/1.551e-05, allocations: 0 / 23.33 MB, free: 3.984 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007826/0.0008184, allocations: 366.5 kB / 23.69 MB, free: 3.812 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test11): time 0.001253/0.00208, allocations: 1.413 MB / 25.1 MB, free: 2.543 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.003142, allocations: 0.8353 MB / 25.94 MB, free: 1.707 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.003332, allocations: 8.656 kB / 25.95 MB, free: 1.699 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.003547, allocations: 99.25 kB / 26.04 MB, free: 1.602 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0005996/0.004155, allocations: 300.8 kB / 26.34 MB, free: 1.309 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.000103/0.004269, allocations: 39.95 kB / 26.38 MB, free: 1.27 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0003544/0.004632, allocations: 0.5616 MB / 26.94 MB, free: 0.707 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002548/0.004894, allocations: 269.3 kB / 27.2 MB, free: 432 kB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.005053, allocations: 222.7 kB / 27.42 MB, free: 208 kB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.005255, allocations: 238.5 kB / 27.65 MB, free: 4.613 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 5.296e-05/0.005317, allocations: 24 kB / 27.67 MB, free: 4.59 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003087/0.005631, allocations: 211.6 kB / 27.88 MB, free: 4.383 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.005763, allocations: 139.4 kB / 28.02 MB, free: 4.246 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.005877, allocations: 121.3 kB / 28.14 MB, free: 4.121 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0005504/0.006433, allocations: 0.5966 MB / 28.73 MB, free: 3.523 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.006444, allocations: 0 / 28.73 MB, free: 3.523 MB / 18.57 MB Notification: Performance of FrontEnd: time 9.92e-07/0.00645, allocations: 0 / 28.73 MB, free: 3.523 MB / 18.57 MB Notification: Performance of Transformations before backend: time 8.076e-06/0.006463, allocations: 0 / 28.73 MB, free: 3.523 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.0009353/0.007402, allocations: 0.8533 MB / 29.58 MB, free: 2.609 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.007456, allocations: 16.28 kB / 29.6 MB, free: 2.594 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001484/0.007611, allocations: 144.8 kB / 29.74 MB, free: 2.445 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.007744, allocations: 83.86 kB / 29.82 MB, free: 2.363 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005075/0.008258, allocations: 423.9 kB / 30.24 MB, free: 1.91 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.932e-05/0.008335, allocations: 66.33 kB / 30.3 MB, free: 1.844 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.008449, allocations: 88.33 kB / 30.39 MB, free: 1.758 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.01027, allocations: 1.219 MB / 31.61 MB, free: 0.5156 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.01031, allocations: 8.156 kB / 31.62 MB, free: 0.5078 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.232e-05/0.01039, allocations: 44.11 kB / 31.66 MB, free: 476 kB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/0.01051, allocations: 77.94 kB / 31.74 MB, free: 396 kB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006957/0.01747, allocations: 0.8698 MB / 32.61 MB, free: 7.152 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0028/0.02031, allocations: 2.42 MB / 35.03 MB, free: 5.828 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007686/0.02111, allocations: 0.5753 MB / 35.6 MB, free: 5.324 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003985/0.02153, allocations: 380.5 kB / 35.97 MB, free: 4.953 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005164/0.02205, allocations: 1.032 MB / 37 MB, free: 3.703 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.02208, allocations: 38.89 kB / 37.04 MB, free: 3.656 MB / 18.57 MB Notification: Performance of pre-optimization done (n=43): time 2.995e-06/0.02209, allocations: 0 / 37.04 MB, free: 3.656 MB / 18.57 MB Notification: Performance of matching and sorting (n=43): time 0.002707/0.0248, allocations: 1.435 MB / 38.48 MB, free: 2.191 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.02487, allocations: 215.8 kB / 38.69 MB, free: 1.938 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.02514, allocations: 314.1 kB / 38.99 MB, free: 1.625 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.02518, allocations: 41.7 kB / 39.04 MB, free: 1.578 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.02534, allocations: 331.8 kB / 39.36 MB, free: 1.258 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 8.229e-05/0.02543, allocations: 138.6 kB / 39.49 MB, free: 1.125 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.02546, allocations: 13.02 kB / 39.51 MB, free: 1.113 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 5.237e-05/0.02552, allocations: 346.8 kB / 39.85 MB, free: 0.7656 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004101/0.02593, allocations: 316.9 kB / 40.16 MB, free: 464 kB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005867/0.03181, allocations: 453.2 kB / 40.6 MB, free: 5.902 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005181/0.03235, allocations: 383.2 kB / 40.97 MB, free: 5.836 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.03236, allocations: 0 / 40.97 MB, free: 5.836 MB / 18.57 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001355/0.03373, allocations: 1.074 MB / 42.05 MB, free: 5.719 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.157e-05/0.03379, allocations: 86.36 kB / 42.13 MB, free: 5.656 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.0338, allocations: 3.5 kB / 42.13 MB, free: 5.656 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001793/0.0356, allocations: 435.5 kB / 42.56 MB, free: 5.645 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.03583, allocations: 81.11 kB / 42.64 MB, free: 5.594 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005015/0.03634, allocations: 0.7801 MB / 43.42 MB, free: 4.91 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.0366, allocations: 84.06 kB / 43.5 MB, free: 4.871 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.534e-05/0.03667, allocations: 40.3 kB / 43.54 MB, free: 4.844 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.'P1'.fireOut[1],'P1'.emptying,$PRE.'P3'.fireIn[1],'P3'.feeding,'P2'.outTransition[1].arcType,'P1'.outTransition[1].arcType,'P1'.fireOut[1],'T1'.activation.emptied[1],'T1'.activation.active,'T1'.activation.weaklyInputActiveVec[1],'T1'.activation.weaklyOutputActiveVec[1],$PRE.'P2'.fireIn[1],'P2'.fireIn[1],$PRE.'P2'.fireOut[1],'P2'.fireOut[1],'T2'.activation.fed[1],'T2'.activation.active,'T2'.activation.weaklyInputActiveVec[1],'T2'.activation.weaklyOutputActiveVec[1],'P3'.fireIn[1],'T1'.activation.arcType[1],'T2'.activation.arcType[1],'T2'.activation.emptied[1],'T1'.activation.fed[1],'T2'.outPlaces[1].enabledByInPlaces,'T1'.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003582/0.03703, allocations: 389.3 kB / 43.92 MB, free: 4.555 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.326e-05/0.03711, allocations: 43.34 kB / 43.96 MB, free: 4.535 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.03854, allocations: 1.041 MB / 45 MB, free: 3.574 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.769e-05/0.03857, allocations: 20.73 kB / 45.02 MB, free: 3.555 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.03858, allocations: 2 kB / 45.03 MB, free: 3.555 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.03859, allocations: 0 / 45.03 MB, free: 3.555 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.04029, allocations: 1.676 MB / 46.7 MB, free: 1.832 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.04031, allocations: 0.5625 kB / 46.7 MB, free: 1.832 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.04048, allocations: 47.97 kB / 46.75 MB, free: 1.785 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008875/0.04137, allocations: 336.5 kB / 47.08 MB, free: 1.453 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/0.04142, allocations: 15.98 kB / 47.09 MB, free: 1.438 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006464/0.04789, allocations: 0.8 MB / 47.89 MB, free: 5.477 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.04793, allocations: 8.375 kB / 47.9 MB, free: 5.477 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/0.05005, allocations: 1.426 MB / 49.33 MB, free: 5.277 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 8.875e-05/0.05016, allocations: 108.5 kB / 49.43 MB, free: 5.184 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.561e-05/0.05025, allocations: 31.59 kB / 49.46 MB, free: 5.184 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.05049, allocations: 44.03 kB / 49.51 MB, free: 5.184 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002396/0.05074, allocations: 123.4 kB / 49.63 MB, free: 5.184 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.823e-05/0.0508, allocations: 24.8 kB / 49.65 MB, free: 5.184 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001761/0.05099, allocations: 190.2 kB / 49.84 MB, free: 5.105 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.5e-07/0.05099, allocations: 0 / 49.84 MB, free: 5.105 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0005898/0.05159, allocations: 240.6 kB / 50.07 MB, free: 5.09 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 ('P1'.t_,'P2'.t_,'P3'.t_) * Number of discrete variables: 14 ('P1'.fireOut[1],'P1'.emptying,'T1'.activation.emptied[1],'T1'.activation.active,'T1'.activation.weaklyInputActiveVec[1],'T1'.activation.weaklyOutputActiveVec[1],'P2'.fireIn[1],'P2'.fireOut[1],'T2'.activation.fed[1],'T2'.activation.active,'T2'.activation.weaklyInputActiveVec[1],'T2'.activation.weaklyOutputActiveVec[1],'P3'.fireIn[1],'P3'.feeding) * Number of discrete states: 10 ('P1'.fireOut[1],'P2'.fireIn[1],'T2'.activation.weaklyOutputActiveVec[1],'T2'.activation.weaklyInputActiveVec[1],'T2'.activation.active,'P2'.fireOut[1],'T1'.activation.weaklyOutputActiveVec[1],'T1'.activation.weaklyInputActiveVec[1],'T1'.activation.active,'P3'.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002146/0.05374, allocations: 2.072 MB / 52.15 MB, free: 3.477 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.05488, allocations: 0.9697 MB / 53.11 MB, free: 2.504 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.0549, allocations: 4 kB / 53.12 MB, free: 2.5 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.000625/0.05553, allocations: 0.5573 MB / 53.68 MB, free: 1.926 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.05591, allocations: 56.83 kB / 53.73 MB, free: 1.867 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.06654, allocations: 3.724 MB / 57.46 MB, free: 4.758 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.067, allocations: 1.014 MB / 58.47 MB, free: 10.45 MB / 24.96 MB Notification: Performance of simCode: alias equations: time 0.0002393/0.06725, allocations: 132 kB / 58.6 MB, free: 10.45 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.06746, allocations: 220.4 kB / 58.81 MB, free: 10.45 MB / 24.96 MB Notification: Performance of SimCode: time 1.102e-06/0.06747, allocations: 0 / 58.81 MB, free: 10.45 MB / 24.96 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03126/0.09873, allocations: 12.65 MB / 71.46 MB, free: 9.551 MB / 24.96 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/0.09898, allocations: 180.3 kB / 71.64 MB, free: 9.309 MB / 24.96 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.238/2.337, allocations: 4.062 kB / 71.64 MB, free: 9.305 MB / 24.96 MB (rm -f ConPNlib_ConPNlib.Examples.Test11.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test11.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test11.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test11.fmu > ConPNlib_ConPNlib.Examples.Test11.pipe 2>&1)