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.006181/0.006181, allocations: 1.364 MB / 16.64 MB, free: 5.125 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.93e-05/1.944e-05, allocations: 0 / 23.81 MB, free: 3.613 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008057/0.0008568, allocations: 361.3 kB / 24.16 MB, free: 3.273 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test6): time 0.001384/0.002259, allocations: 1.021 MB / 25.18 MB, free: 2.254 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.003742, allocations: 0.6868 MB / 25.87 MB, free: 1.566 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003968/0.004164, allocations: 10.22 kB / 25.88 MB, free: 1.559 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.004479, allocations: 63.58 kB / 25.94 MB, free: 1.496 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0009747/0.005469, allocations: 231.2 kB / 26.16 MB, free: 1.27 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.005652, allocations: 30.2 kB / 26.19 MB, free: 1.242 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0005338/0.006197, allocations: 339 kB / 26.52 MB, free: 0.9102 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002694/0.006478, allocations: 141.9 kB / 26.66 MB, free: 0.7656 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.006711, allocations: 131.2 kB / 26.79 MB, free: 0.6367 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.006971, allocations: 135.1 kB / 26.92 MB, free: 0.5039 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 5.727e-05/0.007037, allocations: 12 kB / 26.94 MB, free: 0.4922 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004529/0.007497, allocations: 219.6 kB / 27.15 MB, free: 284 kB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.007637, allocations: 83.62 kB / 27.23 MB, free: 200 kB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.007821, allocations: 160.7 kB / 27.39 MB, free: 32 kB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0008664/0.008695, allocations: 0.4946 MB / 27.88 MB, free: 4.18 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.008712, allocations: 0 / 27.88 MB, free: 4.18 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.543e-06/0.00872, allocations: 0 / 27.88 MB, free: 4.18 MB / 18.57 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.008745, allocations: 0 / 27.88 MB, free: 4.18 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.001459/0.01021, allocations: 0.6056 MB / 28.49 MB, free: 3.516 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 6.695e-05/0.01029, allocations: 12.97 kB / 28.5 MB, free: 3.504 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002019/0.0105, allocations: 78.72 kB / 28.58 MB, free: 3.418 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.01065, allocations: 48.47 kB / 28.63 MB, free: 3.371 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00057/0.01123, allocations: 303.7 kB / 28.92 MB, free: 3.035 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.554e-05/0.01131, allocations: 37.36 kB / 28.96 MB, free: 3 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.932e-05/0.01142, allocations: 48.36 kB / 29.01 MB, free: 2.953 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.01273, allocations: 0.6408 MB / 29.65 MB, free: 2.293 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.01276, allocations: 5.719 kB / 29.65 MB, free: 2.289 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.284e-05/0.01282, allocations: 27.98 kB / 29.68 MB, free: 2.262 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.672e-05/0.0129, allocations: 32.97 kB / 29.71 MB, free: 2.23 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008617/0.01377, allocations: 463.7 kB / 30.16 MB, free: 1.777 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00264/0.01642, allocations: 1.508 MB / 31.67 MB, free: 140 kB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01095/0.02738, allocations: 344.6 kB / 32.01 MB, free: 7.242 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004358/0.02787, allocations: 190.5 kB / 32.2 MB, free: 7.234 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005458/0.02843, allocations: 0.5907 MB / 32.79 MB, free: 6.578 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.02849, allocations: 35.48 kB / 32.82 MB, free: 6.539 MB / 18.57 MB Notification: Performance of pre-optimization done (n=22): time 4.398e-06/0.02851, allocations: 5.938 kB / 32.83 MB, free: 6.539 MB / 18.57 MB Notification: Performance of matching and sorting (n=22): time 0.001168/0.02968, allocations: 0.5278 MB / 33.35 MB, free: 6.477 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.02976, allocations: 146.6 kB / 33.5 MB, free: 6.32 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.03005, allocations: 224 kB / 33.72 MB, free: 6.207 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.03009, allocations: 29.64 kB / 33.74 MB, free: 6.176 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.03028, allocations: 223 kB / 33.96 MB, free: 6.039 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 7.101e-05/0.03035, allocations: 72.86 kB / 34.03 MB, free: 5.996 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.03038, allocations: 13.09 kB / 34.05 MB, free: 5.996 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 9.073e-05/0.03048, allocations: 328.5 kB / 34.37 MB, free: 5.684 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.03073, allocations: 164.1 kB / 34.53 MB, free: 5.68 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.03102, allocations: 248.5 kB / 34.77 MB, free: 5.59 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004958/0.03153, allocations: 410.3 kB / 35.17 MB, free: 5.375 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.03155, allocations: 7.281 kB / 35.18 MB, free: 5.371 MB / 18.57 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007328/0.03229, allocations: 0.5351 MB / 35.71 MB, free: 4.914 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.02e-05/0.03235, allocations: 49.88 kB / 35.76 MB, free: 4.859 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.03236, allocations: 4 kB / 35.77 MB, free: 4.855 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.03239, allocations: 4 kB / 35.77 MB, free: 4.852 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.03257, allocations: 51.91 kB / 35.82 MB, free: 4.801 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.03259, allocations: 4 kB / 35.82 MB, free: 4.797 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.03276, allocations: 51.67 kB / 35.87 MB, free: 4.746 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/0.03282, allocations: 15.98 kB / 35.89 MB, free: 4.73 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 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.outTransition[1].arcType,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.arcType[1],T1.activation.emptied[1],T1.activation.fed[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.0002754/0.0331, allocations: 258.3 kB / 36.14 MB, free: 4.465 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/0.03316, allocations: 19.81 kB / 36.16 MB, free: 4.445 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006881/0.03385, allocations: 476.2 kB / 36.63 MB, free: 3.977 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.883e-05/0.03389, allocations: 4 kB / 36.63 MB, free: 3.973 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.03391, allocations: 7.938 kB / 36.64 MB, free: 3.965 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.03392, allocations: 3.984 kB / 36.64 MB, free: 3.961 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.03497, allocations: 0.9193 MB / 37.56 MB, free: 2.992 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.03499, allocations: 0 / 37.56 MB, free: 2.992 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.03513, allocations: 31.92 kB / 37.59 MB, free: 2.961 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.03514, allocations: 3.938 kB / 37.6 MB, free: 2.957 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/0.03517, allocations: 16.78 kB / 37.61 MB, free: 2.941 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.03518, allocations: 0 / 37.61 MB, free: 2.941 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.03519, allocations: 0 / 37.61 MB, free: 2.941 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008537/0.03604, allocations: 0.7123 MB / 38.33 MB, free: 2.207 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.0361, allocations: 104.8 kB / 38.43 MB, free: 2.086 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.03615, allocations: 12 kB / 38.44 MB, free: 2.074 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.0363, allocations: 24.05 kB / 38.46 MB, free: 2.051 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.03644, allocations: 62.66 kB / 38.52 MB, free: 1.992 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.03648, allocations: 19.38 kB / 38.54 MB, free: 1.977 MB / 18.57 MB Notification: Performance of sorting global known variables: time 9.6e-05/0.03658, allocations: 141.6 kB / 38.68 MB, free: 1.84 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.31e-07/0.03659, allocations: 0 / 38.68 MB, free: 1.84 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0004656/0.03706, allocations: 155 kB / 38.83 MB, free: 1.695 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.001283/0.03835, allocations: 1.331 MB / 40.16 MB, free: 356 kB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.009138/0.0475, allocations: 487.4 kB / 40.64 MB, free: 6.25 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.04756, allocations: 0.6562 kB / 40.64 MB, free: 6.25 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0005792/0.04815, allocations: 267.9 kB / 40.9 MB, free: 6.188 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005015/0.04868, allocations: 34.7 kB / 40.94 MB, free: 6.184 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00436/0.05305, allocations: 3.51 MB / 44.45 MB, free: 4.262 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.05336, allocations: 0.8529 MB / 45.3 MB, free: 3.391 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0002207/0.05359, allocations: 112.5 kB / 45.41 MB, free: 3.289 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.05376, allocations: 127 kB / 45.53 MB, free: 3.168 MB / 18.57 MB Notification: Performance of SimCode: time 6.61e-07/0.05377, allocations: 0 / 45.53 MB, free: 3.168 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.08339, allocations: 6.534 MB / 52.07 MB, free: 3.125 MB / 18.57 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/0.08359, allocations: 162.3 kB / 52.23 MB, free: 2.875 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.071, allocations: 0 / 52.23 MB, free: 2.875 MB / 18.57 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)