Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test8.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.Test8,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test8,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.00524/0.005241, allocations: 1.364 MB / 16.61 MB, free: 4.855 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.21e-05/1.253e-05, allocations: 0 / 23.75 MB, free: 3.594 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0004361/0.0004656, allocations: 363.2 kB / 24.11 MB, free: 3.258 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test8): time 0.001074/0.001549, allocations: 1.565 MB / 25.67 MB, free: 1.691 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.002686, allocations: 0.8942 MB / 26.57 MB, free: 0.8008 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002043/0.002902, allocations: 7.938 kB / 26.58 MB, free: 0.793 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.003148, allocations: 111.9 kB / 26.69 MB, free: 0.6836 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0006496/0.003806, allocations: 321.6 kB / 27 MB, free: 380 kB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001147/0.003932, allocations: 59.95 kB / 27.06 MB, free: 320 kB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0004358/0.004376, allocations: 0.5764 MB / 27.64 MB, free: 4.379 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002992/0.004683, allocations: 297.5 kB / 27.93 MB, free: 4.074 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.004918, allocations: 226.6 kB / 28.15 MB, free: 3.852 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003358/0.005268, allocations: 254.2 kB / 28.4 MB, free: 3.602 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 7.064e-05/0.005355, allocations: 24 kB / 28.42 MB, free: 3.578 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004664/0.005834, allocations: 219.6 kB / 28.63 MB, free: 3.363 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.005976, allocations: 155.3 kB / 28.78 MB, free: 3.211 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.006183, allocations: 262 kB / 29.04 MB, free: 2.953 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0006436/0.006833, allocations: 0.7749 MB / 29.82 MB, free: 2.176 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.006844, allocations: 0 / 29.82 MB, free: 2.176 MB / 18.57 MB Notification: Performance of FrontEnd: time 3.186e-06/0.006853, allocations: 3.984 kB / 29.82 MB, free: 2.172 MB / 18.57 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.006866, allocations: 0 / 29.82 MB, free: 2.172 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.0008772/0.007748, allocations: 0.8417 MB / 30.66 MB, free: 1.27 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.007803, allocations: 15.5 kB / 30.68 MB, free: 1.258 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/0.007952, allocations: 147.6 kB / 30.82 MB, free: 1.105 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.008082, allocations: 80 kB / 30.9 MB, free: 1.027 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004728/0.00856, allocations: 423.9 kB / 31.31 MB, free: 0.5742 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.498e-05/0.008623, allocations: 70.34 kB / 31.38 MB, free: 0.5039 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.00873, allocations: 92.34 kB / 31.47 MB, free: 424 kB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00618/0.01492, allocations: 1.216 MB / 32.69 MB, free: 7.168 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.01495, allocations: 1.438 kB / 32.69 MB, free: 7.168 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.955e-05/0.01502, allocations: 35.62 kB / 32.72 MB, free: 7.168 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.85e-05/0.01513, allocations: 74.64 kB / 32.8 MB, free: 7.168 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.0162, allocations: 0.8749 MB / 33.67 MB, free: 6.988 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002174/0.01839, allocations: 2.563 MB / 36.23 MB, free: 4.48 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006358/0.01904, allocations: 0.6386 MB / 36.87 MB, free: 3.797 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003492/0.0194, allocations: 353.7 kB / 37.22 MB, free: 3.449 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002969/0.0197, allocations: 0.6053 MB / 37.82 MB, free: 2.719 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.01973, allocations: 34.86 kB / 37.86 MB, free: 2.676 MB / 18.57 MB Notification: Performance of pre-optimization done (n=41): time 2.555e-06/0.01974, allocations: 0 / 37.86 MB, free: 2.676 MB / 18.57 MB Notification: Performance of matching and sorting (n=41): time 0.001625/0.02137, allocations: 1 MB / 38.86 MB, free: 1.664 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.02144, allocations: 212.2 kB / 39.07 MB, free: 1.414 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/0.02179, allocations: 322.3 kB / 39.38 MB, free: 1.09 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/0.02185, allocations: 33.7 kB / 39.41 MB, free: 1.051 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.02207, allocations: 355.8 kB / 39.76 MB, free: 0.7109 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.0222, allocations: 134 kB / 39.89 MB, free: 0.582 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.02233, allocations: 81.67 kB / 39.97 MB, free: 0.4961 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 8.533e-05/0.02243, allocations: 346.8 kB / 40.31 MB, free: 152 kB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006891/0.02933, allocations: 300.9 kB / 40.6 MB, free: 5.93 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000517/0.02987, allocations: 455.6 kB / 41.05 MB, free: 5.766 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008414/0.03073, allocations: 0.765 MB / 41.81 MB, free: 5.5 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.03075, allocations: 1.531 kB / 41.82 MB, free: 5.5 MB / 18.57 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001221/0.03198, allocations: 0.9851 MB / 42.8 MB, free: 5.32 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.931e-05/0.03205, allocations: 83.75 kB / 42.88 MB, free: 5.25 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.03207, allocations: 3.688 kB / 42.89 MB, free: 5.25 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.0321, allocations: 8.938 kB / 42.89 MB, free: 5.25 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.03236, allocations: 95.36 kB / 42.99 MB, free: 5.238 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.03238, allocations: 8.469 kB / 43 MB, free: 5.238 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.03266, allocations: 86.2 kB / 43.08 MB, free: 5.23 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.03e-05/0.03272, allocations: 39.94 kB / 43.12 MB, free: 5.223 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 27 (P1.emptying,$PRE.P1.fireOut[2],$PRE.P1.fireOut[1],P2.feeding,$PRE.P2.fireIn[1],P3.feeding,$PRE.P3.fireIn[1],P1.outTransition[2].arcType,P1.outTransition[1].arcType,T1.activation.fed[1],T1.activation.emptied[1],T2.activation.emptied[1],T2.activation.arcType[1],T1.activation.arcType[1],P3.fireIn[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.activation.fed[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P2.fireIn[1],P1.fireOut[2],P1.fireOut[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 (65): * Single equations (assignments): 60 * Array equations: 3 * Algorithm blocks: 2 * 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.0003887/0.03312, allocations: 390.6 kB / 43.5 MB, free: 4.965 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8e-05/0.03321, allocations: 35.91 kB / 43.54 MB, free: 4.965 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.03435, allocations: 0.8711 MB / 44.41 MB, free: 4.148 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-05/0.03439, allocations: 11.98 kB / 44.42 MB, free: 4.137 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.0344, allocations: 8 kB / 44.43 MB, free: 4.129 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.03441, allocations: 0 / 44.43 MB, free: 4.129 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/0.03602, allocations: 1.532 MB / 45.96 MB, free: 2.559 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.03603, allocations: 1.531 kB / 45.96 MB, free: 2.559 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.03623, allocations: 63.89 kB / 46.02 MB, free: 2.496 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.03625, allocations: 4 kB / 46.03 MB, free: 2.492 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/0.03629, allocations: 12 kB / 46.04 MB, free: 2.48 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.03629, allocations: 0 / 46.04 MB, free: 2.48 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.0363, allocations: 3.938 kB / 46.04 MB, free: 2.477 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.03775, allocations: 1.276 MB / 47.32 MB, free: 1.191 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 5.331e-05/0.03782, allocations: 112.1 kB / 47.43 MB, free: 1.086 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.108e-05/0.0379, allocations: 23.94 kB / 47.45 MB, free: 1.062 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.03811, allocations: 39.97 kB / 47.49 MB, free: 1.023 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/0.03832, allocations: 120.5 kB / 47.61 MB, free: 0.9062 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005777/0.04411, allocations: 20.06 kB / 47.63 MB, free: 5.672 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001548/0.04428, allocations: 201.4 kB / 47.82 MB, free: 5.594 MB / 18.57 MB Notification: Performance of sort global known variables: time 4.61e-07/0.04429, allocations: 1.812 kB / 47.83 MB, free: 5.594 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.000561/0.04485, allocations: 243.6 kB / 48.06 MB, free: 5.586 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.fireOut[2],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[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 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],P3.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 3 * Algorithm blocks: 2 * 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.001901/0.04676, allocations: 1.91 MB / 49.97 MB, free: 4.863 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.04782, allocations: 0.9103 MB / 50.88 MB, free: 4.613 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.04783, allocations: 0 / 50.88 MB, free: 4.613 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0004661/0.04831, allocations: 0.5171 MB / 51.4 MB, free: 4.203 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.04869, allocations: 60.33 kB / 51.46 MB, free: 4.156 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/0.06051, allocations: 5.671 MB / 57.13 MB, free: 3.961 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.06094, allocations: 1.01 MB / 58.14 MB, free: 3.262 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0003575/0.06131, allocations: 200.8 kB / 58.34 MB, free: 3.258 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/0.06157, allocations: 241.8 kB / 58.57 MB, free: 3.25 MB / 18.57 MB Notification: Performance of SimCode: time 4.4e-07/0.06157, allocations: 0 / 58.57 MB, free: 3.25 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1039/0.1654, allocations: 10.55 MB / 69.12 MB, free: 5.559 MB / 24.77 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001524/0.1656, allocations: 158.5 kB / 69.28 MB, free: 5.309 MB / 24.77 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.219/2.384, allocations: 0 / 69.28 MB, free: 5.309 MB / 24.77 MB (rm -f ConPNlib_ConPNlib.Examples.Test8.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test8.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test8.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test8.fmu > ConPNlib_ConPNlib.Examples.Test8.pipe 2>&1)