Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test7.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.Test7,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test7,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.00646/0.00646, allocations: 1.363 MB / 16.64 MB, free: 5.168 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.895e-05/1.898e-05, allocations: 0 / 23.8 MB, free: 3.66 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007085/0.0007481, allocations: 367.1 kB / 24.16 MB, free: 3.316 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test7): time 0.0009987/0.001756, allocations: 1.017 MB / 25.18 MB, free: 2.301 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.002814, allocations: 0.6917 MB / 25.87 MB, free: 1.609 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.002949, allocations: 7.938 kB / 25.88 MB, free: 1.602 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.003149, allocations: 64.89 kB / 25.94 MB, free: 1.539 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0006488/0.003805, allocations: 231.9 kB / 26.17 MB, free: 1.312 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 9.12e-05/0.003909, allocations: 28.8 kB / 26.19 MB, free: 1.285 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.004204, allocations: 335 kB / 26.52 MB, free: 0.957 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.004418, allocations: 150.5 kB / 26.67 MB, free: 0.8047 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.004545, allocations: 131.2 kB / 26.8 MB, free: 0.6758 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.00471, allocations: 135.1 kB / 26.93 MB, free: 0.543 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.004749, allocations: 12 kB / 26.94 MB, free: 0.5312 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.005016, allocations: 215.6 kB / 27.15 MB, free: 328 kB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 8.393e-05/0.005109, allocations: 79.62 kB / 27.23 MB, free: 248 kB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.005234, allocations: 168.7 kB / 27.39 MB, free: 72 kB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0005573/0.005798, allocations: 0.4907 MB / 27.88 MB, free: 4.223 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.00581, allocations: 0 / 27.88 MB, free: 4.223 MB / 18.57 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005817, allocations: 4 kB / 27.89 MB, free: 4.219 MB / 18.57 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.005827, allocations: 0 / 27.89 MB, free: 4.219 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.0007705/0.006602, allocations: 0.6017 MB / 28.49 MB, free: 3.559 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.006655, allocations: 8.969 kB / 28.5 MB, free: 3.551 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.395e-05/0.006754, allocations: 87.97 kB / 28.58 MB, free: 3.457 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.233e-05/0.006832, allocations: 44.47 kB / 28.63 MB, free: 3.414 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.007201, allocations: 303.7 kB / 28.92 MB, free: 3.078 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.293e-05/0.007252, allocations: 41.36 kB / 28.96 MB, free: 3.039 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.459e-05/0.007342, allocations: 44.36 kB / 29.01 MB, free: 2.996 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.008354, allocations: 0.6408 MB / 29.65 MB, free: 2.336 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.008382, allocations: 7.406 kB / 29.66 MB, free: 2.332 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.314e-05/0.008432, allocations: 23.98 kB / 29.68 MB, free: 2.309 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.32e-05/0.00851, allocations: 40.97 kB / 29.72 MB, free: 2.27 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007702/0.009287, allocations: 459.7 kB / 30.17 MB, free: 1.82 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.01122, allocations: 1.508 MB / 31.68 MB, free: 184 kB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008494/0.01973, allocations: 349.1 kB / 32.02 MB, free: 7.352 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/0.02011, allocations: 183.4 kB / 32.2 MB, free: 7.344 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003739/0.0205, allocations: 0.5949 MB / 32.79 MB, free: 6.688 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.02053, allocations: 34.8 kB / 32.83 MB, free: 6.648 MB / 18.57 MB Notification: Performance of pre-optimization done (n=22): time 2.104e-06/0.02054, allocations: 0 / 32.83 MB, free: 6.648 MB / 18.57 MB Notification: Performance of matching and sorting (n=22): time 0.0009906/0.02154, allocations: 0.5321 MB / 33.36 MB, free: 6.586 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/0.02162, allocations: 144.4 kB / 33.5 MB, free: 6.43 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.02187, allocations: 227.2 kB / 33.72 MB, free: 6.316 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.02191, allocations: 34.31 kB / 33.75 MB, free: 6.285 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.02206, allocations: 217.6 kB / 33.97 MB, free: 6.148 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 5.711e-05/0.02213, allocations: 75.86 kB / 34.04 MB, free: 6.105 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.719e-05/0.02215, allocations: 3.688 kB / 34.04 MB, free: 6.105 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 8.956e-05/0.02224, allocations: 335.5 kB / 34.37 MB, free: 5.793 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.02251, allocations: 163.5 kB / 34.53 MB, free: 5.789 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000289/0.02281, allocations: 248 kB / 34.77 MB, free: 5.68 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004764/0.0233, allocations: 416.6 kB / 35.18 MB, free: 5.434 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.02333, allocations: 0 / 35.18 MB, free: 5.434 MB / 18.57 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006664/0.024, allocations: 0.5325 MB / 35.71 MB, free: 5.016 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.401e-05/0.02407, allocations: 45.69 kB / 35.76 MB, free: 4.965 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.02408, allocations: 4 kB / 35.76 MB, free: 4.961 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.02411, allocations: 8.188 kB / 35.77 MB, free: 4.953 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.0243, allocations: 55.91 kB / 35.82 MB, free: 4.898 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.02432, allocations: 4 kB / 35.83 MB, free: 4.895 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.02447, allocations: 51.66 kB / 35.88 MB, free: 4.844 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-05/0.02452, allocations: 12 kB / 35.89 MB, free: 4.832 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.0002681/0.0248, allocations: 261.5 kB / 36.15 MB, free: 4.562 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.837e-05/0.02485, allocations: 19.81 kB / 36.17 MB, free: 4.543 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006654/0.02553, allocations: 476.9 kB / 36.63 MB, free: 4.074 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/0.02556, allocations: 8 kB / 36.64 MB, free: 4.066 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.02557, allocations: 3.719 kB / 36.64 MB, free: 4.066 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.02558, allocations: 0 / 36.64 MB, free: 4.066 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009572/0.02654, allocations: 0.9135 MB / 37.56 MB, free: 3.098 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.02656, allocations: 7.984 kB / 37.56 MB, free: 3.09 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.0267, allocations: 31.92 kB / 37.6 MB, free: 3.059 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.02671, allocations: 9.719 kB / 37.6 MB, free: 3.051 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.02674, allocations: 9.328 kB / 37.61 MB, free: 3.043 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.02675, allocations: 3.984 kB / 37.62 MB, free: 3.039 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.02676, allocations: 3.141 kB / 37.62 MB, free: 3.039 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008501/0.02761, allocations: 0.7084 MB / 38.33 MB, free: 2.309 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/0.02766, allocations: 104.7 kB / 38.43 MB, free: 2.188 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.478e-05/0.02771, allocations: 15.98 kB / 38.45 MB, free: 2.172 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.02786, allocations: 30.47 kB / 38.48 MB, free: 2.145 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.02801, allocations: 58.25 kB / 38.53 MB, free: 2.09 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.02804, allocations: 15.98 kB / 38.55 MB, free: 2.074 MB / 18.57 MB Notification: Performance of sorting global known variables: time 8.698e-05/0.02814, allocations: 137.6 kB / 38.68 MB, free: 1.941 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02814, allocations: 4 kB / 38.69 MB, free: 1.938 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.000461/0.02861, allocations: 151.2 kB / 38.84 MB, free: 1.797 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.001148/0.02976, allocations: 1.331 MB / 40.17 MB, free: 460 kB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.007275/0.03705, allocations: 484.7 kB / 40.64 MB, free: 6.383 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.03708, allocations: 1.375 kB / 40.64 MB, free: 6.383 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.000429/0.03751, allocations: 266.3 kB / 40.9 MB, free: 6.32 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.03788, allocations: 35.08 kB / 40.93 MB, free: 6.316 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.04152, allocations: 3.524 MB / 44.46 MB, free: 4.457 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.04188, allocations: 0.8578 MB / 45.32 MB, free: 9.984 MB / 24.96 MB Notification: Performance of simCode: alias equations: time 0.0001964/0.04208, allocations: 100.1 kB / 45.41 MB, free: 9.891 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.04225, allocations: 129.1 kB / 45.54 MB, free: 9.766 MB / 24.96 MB Notification: Performance of SimCode: time 7.82e-07/0.04225, allocations: 0 / 45.54 MB, free: 9.766 MB / 24.96 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.05893, allocations: 6.54 MB / 52.08 MB, free: 3.262 MB / 24.96 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/0.05915, allocations: 164.4 kB / 52.24 MB, free: 3 MB / 24.96 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.033/2.093, allocations: 0 / 52.24 MB, free: 3 MB / 24.96 MB (rm -f ConPNlib_ConPNlib.Examples.Test7.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test7.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test7.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test7.fmu > ConPNlib_ConPNlib.Examples.Test7.pipe 2>&1)