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.006085/0.006086, allocations: 1.363 MB / 16.61 MB, free: 5.152 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.059e-05/2.062e-05, allocations: 1.922 kB / 23.76 MB, free: 3.719 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007432/0.0007855, allocations: 363.2 kB / 24.11 MB, free: 3.375 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test6): time 0.001351/0.002154, allocations: 1.028 MB / 25.14 MB, free: 2.348 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.003763, allocations: 0.7116 MB / 25.85 MB, free: 1.641 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.00397, allocations: 7.938 kB / 25.86 MB, free: 1.633 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.004272, allocations: 63.58 kB / 25.92 MB, free: 1.57 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0008498/0.005138, allocations: 227.3 kB / 26.14 MB, free: 1.348 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.005277, allocations: 35.91 kB / 26.18 MB, free: 1.312 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0003431/0.005637, allocations: 332.3 kB / 26.5 MB, free: 0.9883 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002687/0.005923, allocations: 152 kB / 26.65 MB, free: 0.8359 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.006081, allocations: 131.2 kB / 26.78 MB, free: 0.707 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.006281, allocations: 135.1 kB / 26.91 MB, free: 0.5742 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 4.404e-05/0.006341, allocations: 12 kB / 26.92 MB, free: 0.5625 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004052/0.006758, allocations: 215.6 kB / 27.13 MB, free: 360 kB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.006881, allocations: 75.69 kB / 27.21 MB, free: 284 kB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.007038, allocations: 142.9 kB / 27.35 MB, free: 140 kB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0007567/0.007813, allocations: 0.5024 MB / 27.85 MB, free: 4.277 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.007834, allocations: 0 / 27.85 MB, free: 4.277 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.824e-06/0.007848, allocations: 0 / 27.85 MB, free: 4.277 MB / 18.57 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.007862, allocations: 0 / 27.85 MB, free: 4.277 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.001032/0.008903, allocations: 0.5939 MB / 28.44 MB, free: 3.625 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/0.008976, allocations: 12.97 kB / 28.46 MB, free: 3.613 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001474/0.009137, allocations: 86.7 kB / 28.54 MB, free: 3.52 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.009283, allocations: 48.45 kB / 28.59 MB, free: 3.473 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/0.00979, allocations: 295.7 kB / 28.88 MB, free: 3.145 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.676e-05/0.009874, allocations: 45.36 kB / 28.92 MB, free: 3.102 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.009993, allocations: 44.38 kB / 28.97 MB, free: 3.059 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.01155, allocations: 0.6407 MB / 29.61 MB, free: 2.398 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.01158, allocations: 5.719 kB / 29.61 MB, free: 2.395 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.987e-05/0.01166, allocations: 27.97 kB / 29.64 MB, free: 2.367 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.813e-05/0.01178, allocations: 32.98 kB / 29.67 MB, free: 2.336 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.013, allocations: 463.7 kB / 30.12 MB, free: 1.883 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002924/0.01594, allocations: 1.501 MB / 31.62 MB, free: 256 kB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00875/0.02471, allocations: 349.5 kB / 31.97 MB, free: 7.281 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005368/0.02529, allocations: 181.4 kB / 32.14 MB, free: 7.273 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005048/0.02581, allocations: 0.5966 MB / 32.74 MB, free: 6.617 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.02586, allocations: 34.2 kB / 32.77 MB, free: 6.578 MB / 18.57 MB Notification: Performance of pre-optimization done (n=22): time 4.178e-06/0.02587, allocations: 0 / 32.77 MB, free: 6.578 MB / 18.57 MB Notification: Performance of matching and sorting (n=22): time 0.00149/0.02737, allocations: 0.5363 MB / 33.31 MB, free: 6.516 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/0.02746, allocations: 147.8 kB / 33.45 MB, free: 6.359 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.02773, allocations: 215.9 kB / 33.66 MB, free: 6.246 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.02778, allocations: 34.5 kB / 33.7 MB, free: 6.215 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.02795, allocations: 222.3 kB / 33.92 MB, free: 6.078 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 7.909e-05/0.02805, allocations: 78.11 kB / 33.99 MB, free: 6.035 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.425e-05/0.02814, allocations: 51.89 kB / 34.04 MB, free: 6.02 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.462e-05/0.02822, allocations: 329.8 kB / 34.36 MB, free: 5.707 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003875/0.02862, allocations: 156.3 kB / 34.52 MB, free: 5.703 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004689/0.02911, allocations: 246.5 kB / 34.76 MB, free: 5.605 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007587/0.02988, allocations: 420 kB / 35.17 MB, free: 5.367 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.0299, allocations: 7.844 kB / 35.18 MB, free: 5.367 MB / 18.57 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001213/0.03113, allocations: 0.5314 MB / 35.71 MB, free: 4.988 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.436e-05/0.0312, allocations: 49.69 kB / 35.76 MB, free: 4.934 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.03122, allocations: 4 kB / 35.76 MB, free: 4.93 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.03125, allocations: 4 kB / 35.76 MB, free: 4.926 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.03153, allocations: 51.09 kB / 35.81 MB, free: 4.879 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.03156, allocations: 4 kB / 35.82 MB, free: 4.875 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.03182, allocations: 56.95 kB / 35.87 MB, free: 4.82 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.527e-05/0.03189, allocations: 16 kB / 35.89 MB, free: 4.805 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 (P1.emptying,$PRE.P1.fireOut[1],P2.feeding,$PRE.P2.fireIn[1],P1.outTransition[1].arcType,T1.activation.fed[1],T1.activation.emptied[1],T1.activation.arcType[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P2.fireIn[1],P1.fireOut[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.0003225/0.03223, allocations: 254.6 kB / 36.14 MB, free: 4.543 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.998e-05/0.03232, allocations: 19.81 kB / 36.16 MB, free: 4.523 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.0334, allocations: 484.6 kB / 36.63 MB, free: 4.051 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.792e-05/0.03344, allocations: 8 kB / 36.64 MB, free: 4.043 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.03346, allocations: 0 / 36.64 MB, free: 4.043 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.03348, allocations: 3.719 kB / 36.64 MB, free: 4.043 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/0.03508, allocations: 0.9231 MB / 37.56 MB, free: 3.066 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.0351, allocations: 0 / 37.56 MB, free: 3.066 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.03533, allocations: 31.97 kB / 37.6 MB, free: 3.035 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.03535, allocations: 7.938 kB / 37.6 MB, free: 3.027 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.0354, allocations: 8 kB / 37.61 MB, free: 3.02 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.03541, allocations: 4 kB / 37.62 MB, free: 3.016 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.03543, allocations: 0 / 37.62 MB, free: 3.016 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.03682, allocations: 0.7162 MB / 38.33 MB, free: 2.277 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.03688, allocations: 92.89 kB / 38.42 MB, free: 2.168 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.606e-05/0.03695, allocations: 13.88 kB / 38.44 MB, free: 2.156 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.03721, allocations: 27.97 kB / 38.46 MB, free: 2.129 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/0.03743, allocations: 61.56 kB / 38.52 MB, free: 2.07 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.089e-05/0.03749, allocations: 11.98 kB / 38.53 MB, free: 2.059 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001415/0.03764, allocations: 141.6 kB / 38.67 MB, free: 1.922 MB / 18.57 MB Notification: Performance of sort global known variables: time 3.11e-07/0.03766, allocations: 4.062 kB / 38.68 MB, free: 1.918 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0007494/0.03841, allocations: 159.1 kB / 38.83 MB, free: 1.77 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.001991/0.04042, allocations: 1.323 MB / 40.16 MB, free: 440 kB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.01245/0.0529, allocations: 491.8 kB / 40.64 MB, free: 6.293 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.05297, allocations: 0.75 kB / 40.64 MB, free: 6.293 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0007622/0.05374, allocations: 266.8 kB / 40.9 MB, free: 6.23 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007604/0.05453, allocations: 33 kB / 40.93 MB, free: 6.227 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006682/0.06124, allocations: 3.512 MB / 44.44 MB, free: 4.289 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.06167, allocations: 0.852 MB / 45.29 MB, free: 3.422 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0004028/0.0621, allocations: 115.5 kB / 45.41 MB, free: 3.32 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/0.06238, allocations: 127.3 kB / 45.53 MB, free: 3.195 MB / 18.57 MB Notification: Performance of SimCode: time 9.22e-07/0.06239, allocations: 0 / 45.53 MB, free: 3.195 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03741/0.09981, allocations: 6.526 MB / 52.06 MB, free: 3.133 MB / 18.57 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002396/0.1001, allocations: 166.6 kB / 52.22 MB, free: 2.879 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.946/2.046, allocations: 2.906 kB / 52.22 MB, free: 2.879 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)