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.01677/0.01677, allocations: 1.355 MB / 16.31 MB, free: 4.941 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.988e-05/2.01e-05, allocations: 4 kB / 23.32 MB, free: 3.68 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007045/0.00076, allocations: 357 kB / 23.66 MB, free: 3.504 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test11): time 0.001781/0.002557, allocations: 1.464 MB / 25.13 MB, free: 2.285 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.004369, allocations: 0.8444 MB / 25.97 MB, free: 1.441 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002906/0.004683, allocations: 8.938 kB / 25.98 MB, free: 1.434 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.005042, allocations: 139.1 kB / 26.12 MB, free: 1.297 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.006126, allocations: 317.9 kB / 26.43 MB, free: 0.9883 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.006373, allocations: 67.91 kB / 26.49 MB, free: 0.9219 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0005082/0.006896, allocations: 391.1 kB / 26.88 MB, free: 0.5391 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004104/0.007321, allocations: 258.4 kB / 27.13 MB, free: 272 kB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.007555, allocations: 210.8 kB / 27.33 MB, free: 60 kB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003728/0.007941, allocations: 238.7 kB / 27.57 MB, free: 4.465 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 8.028e-05/0.008037, allocations: 20 kB / 27.59 MB, free: 4.445 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004884/0.008543, allocations: 199.6 kB / 27.78 MB, free: 4.254 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.008746, allocations: 127.5 kB / 27.91 MB, free: 4.129 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.008905, allocations: 121.3 kB / 28.02 MB, free: 4.004 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0009799/0.009896, allocations: 0.6044 MB / 28.63 MB, free: 3.395 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.009914, allocations: 0 / 28.63 MB, free: 3.395 MB / 18.57 MB Notification: Performance of FrontEnd: time 5.68e-06/0.00993, allocations: 0 / 28.63 MB, free: 3.395 MB / 18.57 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.009947, allocations: 3.938 kB / 28.63 MB, free: 3.391 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.001466/0.01142, allocations: 0.8417 MB / 29.47 MB, free: 2.488 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.01148, allocations: 8.297 kB / 29.48 MB, free: 2.48 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002469/0.01174, allocations: 147.5 kB / 29.63 MB, free: 2.328 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002247/0.01197, allocations: 85.14 kB / 29.71 MB, free: 2.246 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008338/0.01282, allocations: 423.9 kB / 30.12 MB, free: 1.793 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.01301, allocations: 74.27 kB / 30.2 MB, free: 1.719 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003232/0.01335, allocations: 92.31 kB / 30.29 MB, free: 1.629 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00436/0.01773, allocations: 1.2 MB / 31.49 MB, free: 416 kB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/0.01779, allocations: 8.281 kB / 31.49 MB, free: 408 kB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/0.01793, allocations: 47.92 kB / 31.54 MB, free: 360 kB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002102/0.01815, allocations: 73.95 kB / 31.61 MB, free: 284 kB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01321/0.03138, allocations: 0.8686 MB / 32.48 MB, free: 7.582 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004183/0.0356, allocations: 2.423 MB / 34.91 MB, free: 5.914 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.03689, allocations: 0.581 MB / 35.49 MB, free: 5.305 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000823/0.03773, allocations: 1.028 MB / 36.51 MB, free: 4.059 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.03778, allocations: 38.89 kB / 36.55 MB, free: 4.012 MB / 18.57 MB Notification: Performance of pre-optimization done (n=43): time 3.717e-06/0.03779, allocations: 0.8438 kB / 36.55 MB, free: 4.012 MB / 18.57 MB Notification: Performance of matching and sorting (n=43): time 0.005183/0.04299, allocations: 1.582 MB / 38.14 MB, free: 2.359 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.04312, allocations: 224.2 kB / 38.35 MB, free: 2.098 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003954/0.04353, allocations: 310.2 kB / 38.66 MB, free: 1.789 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 6.469e-05/0.0436, allocations: 38.47 kB / 38.69 MB, free: 1.746 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.04383, allocations: 336 kB / 39.02 MB, free: 1.426 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.044, allocations: 138 kB / 39.16 MB, free: 1.293 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.04406, allocations: 12 kB / 39.17 MB, free: 1.281 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 8.335e-05/0.04415, allocations: 350.8 kB / 39.51 MB, free: 0.9297 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007642/0.04493, allocations: 316.7 kB / 39.82 MB, free: 0.6211 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008535/0.0458, allocations: 460.3 kB / 40.27 MB, free: 120 kB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01297/0.05879, allocations: 377.2 kB / 40.64 MB, free: 6.27 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.05884, allocations: 0.9375 kB / 40.64 MB, free: 6.27 MB / 18.57 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002566/0.06142, allocations: 1.066 MB / 41.71 MB, free: 6.16 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 8.999e-05/0.06153, allocations: 83.88 kB / 41.79 MB, free: 6.098 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.06156, allocations: 6.031 kB / 41.79 MB, free: 6.098 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003502/0.06507, allocations: 440.2 kB / 42.22 MB, free: 6.09 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.0655, allocations: 73.88 kB / 42.3 MB, free: 6.039 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009032/0.06642, allocations: 0.7797 MB / 43.08 MB, free: 5.297 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000492/0.06693, allocations: 99.61 kB / 43.17 MB, free: 5.246 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-05/0.06704, allocations: 35.84 kB / 43.21 MB, free: 5.215 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.0005949/0.06764, allocations: 391.2 kB / 43.59 MB, free: 4.859 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.06776, allocations: 39.2 kB / 43.63 MB, free: 4.836 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002656/0.07042, allocations: 1.033 MB / 44.66 MB, free: 3.805 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.981e-05/0.07051, allocations: 12 kB / 44.67 MB, free: 3.793 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.07053, allocations: 2.375 kB / 44.68 MB, free: 3.793 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.07055, allocations: 9.281 kB / 44.68 MB, free: 3.785 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003318/0.07388, allocations: 1.675 MB / 46.36 MB, free: 2.074 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.07393, allocations: 0 / 46.36 MB, free: 2.074 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003297/0.07427, allocations: 51.91 kB / 46.41 MB, free: 2.023 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001676/0.07596, allocations: 336.6 kB / 46.74 MB, free: 1.691 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.614e-05/0.07608, allocations: 20.77 kB / 46.76 MB, free: 1.672 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000936/0.07703, allocations: 0.8036 MB / 47.56 MB, free: 0.8594 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.07705, allocations: 5.25 kB / 47.57 MB, free: 0.8555 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01573/0.09279, allocations: 1.42 MB / 48.99 MB, free: 6.004 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 9.699e-05/0.09294, allocations: 115.9 kB / 49.1 MB, free: 5.91 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.09307, allocations: 21.72 kB / 49.12 MB, free: 5.91 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004056/0.09349, allocations: 55.5 kB / 49.18 MB, free: 5.91 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003349/0.09383, allocations: 113.3 kB / 49.29 MB, free: 5.887 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.421e-05/0.09393, allocations: 27.73 kB / 49.31 MB, free: 5.883 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0002402/0.09418, allocations: 193.2 kB / 49.5 MB, free: 5.773 MB / 18.57 MB Notification: Performance of sort global known variables: time 3.51e-07/0.09419, allocations: 0 / 49.5 MB, free: 5.773 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0008439/0.09505, allocations: 238.7 kB / 49.74 MB, free: 5.75 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.003826/0.09889, allocations: 2.078 MB / 51.81 MB, free: 3.988 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.002105/0.101, allocations: 0.9737 MB / 52.79 MB, free: 3.012 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1011, allocations: 0 / 52.79 MB, free: 3.012 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.1022, allocations: 0.5612 MB / 53.35 MB, free: 2.434 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.1026, allocations: 42.38 kB / 53.39 MB, free: 2.395 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02072/0.1234, allocations: 5.639 MB / 59.03 MB, free: 3.227 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007266/0.1242, allocations: 1.036 MB / 60.07 MB, free: 8.883 MB / 24.96 MB Notification: Performance of simCode: alias equations: time 0.0004502/0.1246, allocations: 128.1 kB / 60.19 MB, free: 8.871 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003321/0.125, allocations: 216.2 kB / 60.4 MB, free: 8.691 MB / 24.96 MB Notification: Performance of SimCode: time 1.313e-06/0.125, allocations: 0.6562 kB / 60.4 MB, free: 8.691 MB / 24.96 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06216/0.1872, allocations: 12.61 MB / 73.01 MB, free: 8.777 MB / 24.96 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/0.1874, allocations: 187.1 kB / 73.19 MB, free: 8.527 MB / 24.96 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.815/3.002, allocations: 3.391 kB / 73.2 MB, free: 8.527 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)