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.01286/0.01286, allocations: 1.363 MB / 16.33 MB, free: 5.344 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.011e-05/1.02e-05, allocations: 0 / 23.34 MB, free: 3.98 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0005736/0.0006046, allocations: 356.2 kB / 23.68 MB, free: 3.812 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test6): time 0.0009808/0.001597, allocations: 0.938 MB / 24.62 MB, free: 3.027 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0009795/0.002595, allocations: 0.6409 MB / 25.26 MB, free: 2.387 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.002825, allocations: 8.5 kB / 25.27 MB, free: 2.379 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.00298, allocations: 63.52 kB / 25.33 MB, free: 2.316 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0006272/0.003616, allocations: 226.2 kB / 25.55 MB, free: 2.098 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 8.114e-05/0.003709, allocations: 23.98 kB / 25.58 MB, free: 2.074 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002821/0.003999, allocations: 323 kB / 25.89 MB, free: 1.758 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.004164, allocations: 143 kB / 26.03 MB, free: 1.602 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.004291, allocations: 119.3 kB / 26.15 MB, free: 1.484 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.004423, allocations: 131.1 kB / 26.28 MB, free: 1.355 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.004466, allocations: 12 kB / 26.29 MB, free: 1.344 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003065/0.004778, allocations: 199.6 kB / 26.48 MB, free: 1.148 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 5.726e-05/0.004845, allocations: 63.7 kB / 26.55 MB, free: 1.086 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 5.667e-05/0.004909, allocations: 81.52 kB / 26.62 MB, free: 1 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0003283/0.005243, allocations: 379.3 kB / 27 MB, free: 0.6289 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.005254, allocations: 0 / 27 MB, free: 0.6289 MB / 13.93 MB Notification: Performance of FrontEnd: time 6.31e-07/0.00526, allocations: 0 / 27 MB, free: 0.6289 MB / 13.93 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.005276, allocations: 0 / 27 MB, free: 0.6289 MB / 13.93 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.0006247/0.005906, allocations: 0.6134 MB / 27.61 MB, free: 4.613 MB / 18.58 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.005946, allocations: 8.297 kB / 27.62 MB, free: 4.605 MB / 18.58 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/0.006073, allocations: 90.67 kB / 27.71 MB, free: 4.508 MB / 18.58 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.627e-05/0.006166, allocations: 45.61 kB / 27.75 MB, free: 4.465 MB / 18.58 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.006519, allocations: 295.7 kB / 28.04 MB, free: 4.137 MB / 18.58 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.006568, allocations: 37.34 kB / 28.07 MB, free: 4.102 MB / 18.58 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/0.006641, allocations: 48.27 kB / 28.12 MB, free: 4.055 MB / 18.58 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.007654, allocations: 0.6408 MB / 28.76 MB, free: 3.395 MB / 18.58 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.00768, allocations: 176 / 28.76 MB, free: 3.395 MB / 18.58 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.097e-05/0.007727, allocations: 19.95 kB / 28.78 MB, free: 3.375 MB / 18.58 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.464e-05/0.0078, allocations: 40.97 kB / 28.82 MB, free: 3.336 MB / 18.58 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007877/0.008594, allocations: 459.6 kB / 29.27 MB, free: 2.887 MB / 18.58 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.01061, allocations: 1.497 MB / 30.77 MB, free: 1.258 MB / 18.58 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005674/0.01119, allocations: 351.9 kB / 31.11 MB, free: 0.8867 MB / 18.58 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.01149, allocations: 197.3 kB / 31.3 MB, free: 0.6953 MB / 18.58 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007157/0.01866, allocations: 0.5928 MB / 31.9 MB, free: 7.754 MB / 18.58 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.0187, allocations: 34.03 kB / 31.93 MB, free: 7.715 MB / 18.58 MB Notification: Performance of pre-optimization done (n=22): time 2.134e-06/0.01871, allocations: 0 / 31.93 MB, free: 7.715 MB / 18.58 MB Notification: Performance of matching and sorting (n=22): time 0.0009724/0.01969, allocations: 0.5258 MB / 32.46 MB, free: 7.648 MB / 18.58 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.01975, allocations: 146.6 kB / 32.6 MB, free: 7.492 MB / 18.58 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.01995, allocations: 223.4 kB / 32.82 MB, free: 7.379 MB / 18.58 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.01998, allocations: 33.2 kB / 32.85 MB, free: 7.348 MB / 18.58 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.0201, allocations: 222.6 kB / 33.07 MB, free: 7.211 MB / 18.58 MB Notification: Performance of collectInitialBindings (initialization): time 5.496e-05/0.02016, allocations: 74.22 kB / 33.14 MB, free: 7.168 MB / 18.58 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.779e-05/0.02018, allocations: 4.125 kB / 33.14 MB, free: 7.168 MB / 18.58 MB Notification: Performance of setup shared object (initialization): time 6.103e-05/0.02025, allocations: 344.9 kB / 33.48 MB, free: 6.855 MB / 18.58 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.0205, allocations: 153.2 kB / 33.63 MB, free: 6.844 MB / 18.58 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000301/0.02081, allocations: 246.9 kB / 33.87 MB, free: 6.707 MB / 18.58 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.02107, allocations: 199.6 kB / 34.07 MB, free: 6.617 MB / 18.58 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.02108, allocations: 0 / 34.07 MB, free: 6.617 MB / 18.58 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007031/0.02179, allocations: 0.5282 MB / 34.59 MB, free: 6.289 MB / 18.58 MB Notification: Performance of prepare postOptimizeDAE: time 3.638e-05/0.02184, allocations: 45.17 kB / 34.64 MB, free: 6.242 MB / 18.58 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.02185, allocations: 8.938 kB / 34.65 MB, free: 6.238 MB / 18.58 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.02187, allocations: 4 kB / 34.65 MB, free: 6.234 MB / 18.58 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.02204, allocations: 47.25 kB / 34.7 MB, free: 6.195 MB / 18.58 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.02205, allocations: 4 kB / 34.7 MB, free: 6.191 MB / 18.58 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.02222, allocations: 58.72 kB / 34.76 MB, free: 6.137 MB / 18.58 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/0.02226, allocations: 12 kB / 34.77 MB, free: 6.125 MB / 18.58 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002203/0.02249, allocations: 258.6 kB / 35.02 MB, free: 5.863 MB / 18.58 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.02255, allocations: 19.81 kB / 35.04 MB, free: 5.844 MB / 18.58 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006534/0.02321, allocations: 479.3 kB / 35.51 MB, free: 5.375 MB / 18.58 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/0.02324, allocations: 11.98 kB / 35.52 MB, free: 5.363 MB / 18.58 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.02325, allocations: 0 / 35.52 MB, free: 5.363 MB / 18.58 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.02326, allocations: 1.219 kB / 35.52 MB, free: 5.363 MB / 18.58 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009481/0.02421, allocations: 0.9217 MB / 36.45 MB, free: 4.387 MB / 18.58 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.02422, allocations: 0 / 36.45 MB, free: 4.387 MB / 18.58 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.02436, allocations: 31.97 kB / 36.48 MB, free: 4.355 MB / 18.58 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.02437, allocations: 3.719 kB / 36.48 MB, free: 4.355 MB / 18.58 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.0244, allocations: 18.42 kB / 36.5 MB, free: 4.34 MB / 18.58 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.02441, allocations: 0 / 36.5 MB, free: 4.34 MB / 18.58 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.02441, allocations: 0 / 36.5 MB, free: 4.34 MB / 18.58 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008726/0.02529, allocations: 0.7201 MB / 37.22 MB, free: 3.598 MB / 18.58 MB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.02535, allocations: 96.8 kB / 37.31 MB, free: 3.484 MB / 18.58 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.0254, allocations: 12 kB / 37.32 MB, free: 3.473 MB / 18.58 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.02555, allocations: 30.47 kB / 37.35 MB, free: 3.445 MB / 18.58 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.02568, allocations: 51.94 kB / 37.4 MB, free: 3.395 MB / 18.58 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.02572, allocations: 23.73 kB / 37.43 MB, free: 3.375 MB / 18.58 MB Notification: Performance of sorting global known variables: time 9.791e-05/0.02582, allocations: 141.7 kB / 37.57 MB, free: 3.238 MB / 18.58 MB Notification: Performance of sort global known variables: time 2.3e-07/0.02583, allocations: 0 / 37.57 MB, free: 3.238 MB / 18.58 MB Notification: Performance of remove unused functions: time 0.0004969/0.02633, allocations: 157.9 kB / 37.72 MB, free: 3.09 MB / 18.58 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001253/0.02759, allocations: 1.331 MB / 39.05 MB, free: 1.742 MB / 18.58 MB Notification: Performance of simCode: created initialization part: time 0.0006057/0.02821, allocations: 487.2 kB / 39.53 MB, free: 1.258 MB / 18.58 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.02822, allocations: 0 / 39.53 MB, free: 1.258 MB / 18.58 MB Notification: Performance of simCode: created simulation system equations: time 0.0002878/0.02852, allocations: 267.2 kB / 39.79 MB, free: 0.9844 MB / 18.58 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.02886, allocations: 34.2 kB / 39.82 MB, free: 0.957 MB / 18.58 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.03999, allocations: 2.028 MB / 41.85 MB, free: 6.176 MB / 18.58 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.04037, allocations: 0.8473 MB / 42.7 MB, free: 11.87 MB / 24.97 MB Notification: Performance of simCode: alias equations: time 0.000225/0.04061, allocations: 112.7 kB / 42.81 MB, free: 11.86 MB / 24.97 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.04079, allocations: 128.4 kB / 42.93 MB, free: 11.86 MB / 24.97 MB Notification: Performance of SimCode: time 6.11e-07/0.0408, allocations: 0 / 42.93 MB, free: 11.86 MB / 24.97 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.05804, allocations: 6.698 MB / 49.63 MB, free: 5.852 MB / 24.97 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002584/0.05833, allocations: 149.2 kB / 49.78 MB, free: 5.609 MB / 24.97 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/1.757, allocations: 0 / 49.78 MB, free: 5.609 MB / 24.97 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)