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.01692/0.01692, allocations: 1.357 MB / 16.3 MB, free: 5.305 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.663e-05/1.649e-05, allocations: 0 / 23.32 MB, free: 4 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006844/0.0007331, allocations: 362.6 kB / 23.67 MB, free: 3.84 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.005069/0.005818, allocations: 4.108 MB / 27.78 MB, free: 4.473 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001665/0.006039, allocations: 47.98 kB / 27.83 MB, free: 4.426 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.04062/0.04668, allocations: 6.969 MB / 34.8 MB, free: 4.863 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.704e-06/0.04673, allocations: 0 / 34.8 MB, free: 4.863 MB / 18.57 MB Notification: Performance of Transformations before backend: time 2.493e-05/0.04676, allocations: 6.781 kB / 34.8 MB, free: 4.863 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.001209/0.04798, allocations: 0.6311 MB / 35.44 MB, free: 4.375 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/0.04806, allocations: 9.391 kB / 35.44 MB, free: 4.375 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002456/0.04832, allocations: 89.64 kB / 35.53 MB, free: 4.336 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.04853, allocations: 43.11 kB / 35.57 MB, free: 4.316 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009191/0.04948, allocations: 327.6 kB / 35.89 MB, free: 4.094 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.267e-05/0.04959, allocations: 36.8 kB / 35.93 MB, free: 4.094 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.04975, allocations: 42.75 kB / 35.97 MB, free: 4.094 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.05193, allocations: 0.6245 MB / 36.6 MB, free: 4.008 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/0.05203, allocations: 3.344 kB / 36.6 MB, free: 4.008 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.05215, allocations: 26.28 kB / 36.63 MB, free: 3.996 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001253/0.05229, allocations: 33.42 kB / 36.66 MB, free: 3.996 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.05404, allocations: 429.2 kB / 37.08 MB, free: 3.867 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003425/0.05752, allocations: 1.142 MB / 38.22 MB, free: 2.926 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.05876, allocations: 349.8 kB / 38.56 MB, free: 2.594 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007691/0.05957, allocations: 0.5971 MB / 39.16 MB, free: 1.871 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.05963, allocations: 42.52 kB / 39.2 MB, free: 1.82 MB / 18.57 MB Notification: Performance of pre-optimization done (n=22): time 5.149e-06/0.05966, allocations: 7.75 kB / 39.21 MB, free: 1.816 MB / 18.57 MB Notification: Performance of matching and sorting (n=22): time 0.002023/0.06169, allocations: 0.5225 MB / 39.73 MB, free: 1.266 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.71e-05/0.06184, allocations: 140.5 kB / 39.87 MB, free: 1.098 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.06222, allocations: 208.3 kB / 40.07 MB, free: 0.8867 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 5.778e-05/0.0623, allocations: 37.14 kB / 40.11 MB, free: 0.8477 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.06251, allocations: 220.1 kB / 40.32 MB, free: 0.6328 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.06268, allocations: 73.27 kB / 40.39 MB, free: 0.5625 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/0.06274, allocations: 12 kB / 40.4 MB, free: 0.5508 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.06286, allocations: 330.8 kB / 40.73 MB, free: 224 kB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006343/0.06351, allocations: 148.5 kB / 40.87 MB, free: 72 kB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.022/0.08554, allocations: 255.8 kB / 41.12 MB, free: 3.465 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006223/0.08622, allocations: 194.3 kB / 41.31 MB, free: 3.434 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.08625, allocations: 3.156 kB / 41.32 MB, free: 3.434 MB / 18.57 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001125/0.08738, allocations: 477.3 kB / 41.78 MB, free: 3.363 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 7.052e-05/0.08748, allocations: 45.39 kB / 41.83 MB, free: 3.332 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.0875, allocations: 3.562 kB / 41.83 MB, free: 3.332 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.844e-05/0.08754, allocations: 9.047 kB / 41.84 MB, free: 3.332 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/0.0879, allocations: 51.7 kB / 41.89 MB, free: 3.332 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.08794, allocations: 8.578 kB / 41.9 MB, free: 3.332 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.08824, allocations: 46.67 kB / 41.94 MB, free: 3.332 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/0.08832, allocations: 21.8 kB / 41.96 MB, free: 3.332 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.feeding,P1.outTransition[1].arcType,P2.emptying,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.emptied[1],T1.activation.arcType[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 (38): * Single equations (assignments): 35 * 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.0003852/0.08871, allocations: 256.2 kB / 42.21 MB, free: 3.188 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.924e-05/0.0888, allocations: 21.84 kB / 42.24 MB, free: 3.188 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.08995, allocations: 421 kB / 42.65 MB, free: 3.109 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.772e-05/0.09001, allocations: 5.094 kB / 42.65 MB, free: 3.109 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.09002, allocations: 0 / 42.65 MB, free: 3.109 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.09004, allocations: 1.312 kB / 42.65 MB, free: 3.109 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.09168, allocations: 0.827 MB / 43.48 MB, free: 2.777 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.09173, allocations: 0 / 43.48 MB, free: 2.777 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.09202, allocations: 38.89 kB / 43.52 MB, free: 2.777 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.09204, allocations: 1.312 kB / 43.52 MB, free: 2.777 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.09208, allocations: 12.83 kB / 43.53 MB, free: 2.777 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.0921, allocations: 0 / 43.53 MB, free: 2.777 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.09211, allocations: 3.094 kB / 43.53 MB, free: 2.777 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.09355, allocations: 0.6366 MB / 44.17 MB, free: 2.602 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 6.807e-05/0.09365, allocations: 96.2 kB / 44.27 MB, free: 2.508 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.557e-05/0.09374, allocations: 18.28 kB / 44.28 MB, free: 2.508 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.094, allocations: 27.03 kB / 44.31 MB, free: 2.508 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/0.09422, allocations: 56.3 kB / 44.36 MB, free: 2.508 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/0.09428, allocations: 20.16 kB / 44.38 MB, free: 2.508 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001634/0.09446, allocations: 144.8 kB / 44.53 MB, free: 2.434 MB / 18.57 MB Notification: Performance of sort global known variables: time 4.21e-07/0.09447, allocations: 0 / 44.53 MB, free: 2.434 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0007196/0.0952, allocations: 163.7 kB / 44.69 MB, free: 2.434 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 (P2.fireIn[1],P1.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active) * 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.002009/0.09723, allocations: 1.287 MB / 45.97 MB, free: 1.598 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.09837, allocations: 486.6 kB / 46.45 MB, free: 1.188 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.09842, allocations: 1.281 kB / 46.45 MB, free: 1.188 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.00052/0.09895, allocations: 259 kB / 46.7 MB, free: 0.9492 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.09934, allocations: 27.83 kB / 46.73 MB, free: 0.9258 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005446/0.1048, allocations: 3.784 MB / 50.51 MB, free: 3.512 MB / 24.81 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005705/0.1054, allocations: 0.8616 MB / 51.37 MB, free: 2.691 MB / 24.81 MB Notification: Performance of simCode: alias equations: time 0.0003964/0.1059, allocations: 86.55 kB / 51.46 MB, free: 2.633 MB / 24.81 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000284/0.1062, allocations: 117.7 kB / 51.57 MB, free: 2.531 MB / 24.81 MB Notification: Performance of SimCode: time 1.072e-06/0.1062, allocations: 0 / 51.57 MB, free: 2.531 MB / 24.81 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05207/0.1582, allocations: 6.609 MB / 58.18 MB, free: 7.688 MB / 24.81 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/0.1585, allocations: 151 kB / 58.33 MB, free: 7.441 MB / 24.81 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.479/2.638, allocations: 3.938 kB / 58.33 MB, free: 7.438 MB / 24.81 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)