Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test11.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.Test11,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test11,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01283/0.01283, allocations: 1.335 MB / 8.813 MB, free: 244 kB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 2.117e-05/2.129e-05, allocations: 2.75 kB / 13.23 MB, free: 2.285 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006449/0.0007006, allocations: 359.5 kB / 13.58 MB, free: 2.254 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.004751/0.005471, allocations: 3.359 MB / 16.94 MB, free: 1.789 MB / 10.45 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001616/0.005686, allocations: 47.98 kB / 16.98 MB, free: 1.742 MB / 10.45 MB Notification: Performance of FrontEnd - DAE generated: time 0.05483/0.06053, allocations: 10.64 MB / 27.62 MB, free: 3.742 MB / 14.12 MB Notification: Performance of FrontEnd: time 2.024e-06/0.06058, allocations: 0 / 27.62 MB, free: 3.742 MB / 14.12 MB Notification: Performance of Transformations before backend: time 4.228e-05/0.06064, allocations: 17.12 kB / 27.64 MB, free: 3.742 MB / 14.12 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001677/0.06232, allocations: 0.8594 MB / 28.5 MB, free: 3.141 MB / 14.12 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.06239, allocations: 11.75 kB / 28.51 MB, free: 3.141 MB / 14.12 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003348/0.06274, allocations: 81.58 kB / 28.59 MB, free: 3.09 MB / 14.12 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.06393, allocations: 458.2 kB / 29.04 MB, free: 2.648 MB / 14.12 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.52e-05/0.06408, allocations: 33.28 kB / 29.07 MB, free: 2.617 MB / 14.12 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002396/0.06434, allocations: 59.62 kB / 29.13 MB, free: 2.562 MB / 14.12 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002236/0.06659, allocations: 0.7435 MB / 29.87 MB, free: 1.914 MB / 14.12 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002964/0.06961, allocations: 1.026 MB / 30.9 MB, free: 0.9609 MB / 14.12 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/0.0697, allocations: 3.188 kB / 30.9 MB, free: 0.9609 MB / 14.12 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/0.06984, allocations: 7.953 kB / 30.91 MB, free: 0.9531 MB / 14.12 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001855/0.07004, allocations: 57.97 kB / 30.97 MB, free: 0.8984 MB / 14.12 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01687/0.08693, allocations: 1.868 MB / 32.83 MB, free: 2.359 MB / 14.12 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009381/0.08792, allocations: 493.9 kB / 33.32 MB, free: 2.238 MB / 14.12 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006676/0.08866, allocations: 325 kB / 33.63 MB, free: 2.23 MB / 14.12 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/0.08971, allocations: 1.035 MB / 34.67 MB, free: 1.102 MB / 14.12 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.08977, allocations: 39.48 kB / 34.71 MB, free: 1.062 MB / 14.12 MB Notification: Performance of pre-optimization done (n=43): time 4.288e-06/0.08979, allocations: 0 / 34.71 MB, free: 1.062 MB / 14.12 MB Notification: Performance of matching and sorting (n=43): time 0.001992/0.09179, allocations: 0.6038 MB / 35.31 MB, free: 1 MB / 14.12 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.09193, allocations: 210.3 kB / 35.52 MB, free: 0.7812 MB / 14.12 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003464/0.09229, allocations: 234.5 kB / 35.75 MB, free: 0.668 MB / 14.12 MB Notification: Performance of collectPreVariables (initialization): time 7.137e-05/0.09237, allocations: 35.09 kB / 35.78 MB, free: 0.6328 MB / 14.12 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.09265, allocations: 339.5 kB / 36.11 MB, free: 416 kB / 14.12 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.09281, allocations: 137.7 kB / 36.25 MB, free: 316 kB / 14.12 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/0.09288, allocations: 3.062 kB / 36.25 MB, free: 316 kB / 14.12 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.09301, allocations: 339.5 kB / 36.58 MB, free: 4.723 MB / 18.86 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005917/0.09361, allocations: 259.3 kB / 36.83 MB, free: 4.637 MB / 18.86 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007581/0.09439, allocations: 423.9 kB / 37.25 MB, free: 4.355 MB / 18.86 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.0957, allocations: 280.2 kB / 37.52 MB, free: 4.273 MB / 18.86 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/0.09575, allocations: 0 / 37.52 MB, free: 4.273 MB / 18.86 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002628/0.0984, allocations: 0.7643 MB / 38.29 MB, free: 3.688 MB / 18.86 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001335/0.09858, allocations: 90.84 kB / 38.37 MB, free: 3.594 MB / 18.86 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.09861, allocations: 5.031 kB / 38.38 MB, free: 3.59 MB / 18.86 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003679/0.1023, allocations: 413 kB / 38.78 MB, free: 3.281 MB / 18.86 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000499/0.1028, allocations: 73.95 kB / 38.86 MB, free: 3.219 MB / 18.86 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.1044, allocations: 0.8364 MB / 39.69 MB, free: 2.43 MB / 18.86 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006556/0.1051, allocations: 69.58 kB / 39.76 MB, free: 2.371 MB / 18.86 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.1053, allocations: 35.89 kB / 39.79 MB, free: 2.34 MB / 18.86 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 'T1'.speedSumOut[1]:VARIABLE(protected = true ) "Output speeds of continuous output places" type: Real [1] 'P2'.prelimSpeedIn[1]:VARIABLE(protected = true ) "preliminary speed of input transitions" type: Real [1] 'P3'.prelimSpeedIn[1]:VARIABLE(protected = true ) "preliminary speed of input transitions" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.'P1'.fireOut[1],'P1'.emptying,$PRE.'P3'.fireIn[1],'P3'.feeding,'P3'.emptying,'P2'.outTransition[1].arcType,'P1'.feeding,'P1'.outTransition[1].arcType,'P1'.fireOut[1],'T1'.activation.emptied[1],'T1'.activation.active,'T1'.activation.weaklyInputActiveVec[1],'T1'.activation.weaklyOutputActiveVec[1],$PRE.'P2'.fireIn[1],'P2'.fireIn[1],$PRE.'P2'.fireOut[1],'P2'.fireOut[1],'T2'.activation.fed[1],'T2'.activation.active,'T2'.activation.weaklyInputActiveVec[1],'T2'.activation.weaklyOutputActiveVec[1],'P3'.fireIn[1],'T1'.activation.arcType[1],'T1'.activation.fed[1],'T2'.activation.arcType[1],'T2'.activation.emptied[1],'T2'.outPlaces[1].enabledByInPlaces,'T1'.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004551/0.1057, allocations: 250.5 kB / 40.04 MB, free: 2.09 MB / 18.86 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002002/0.1077, allocations: 0.6215 MB / 40.66 MB, free: 1.551 MB / 18.86 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.1079, allocations: 27.72 kB / 40.69 MB, free: 1.523 MB / 18.86 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.1102, allocations: 0.7154 MB / 41.4 MB, free: 0.9297 MB / 18.86 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.763e-05/0.1103, allocations: 12.88 kB / 41.42 MB, free: 0.9219 MB / 18.86 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.1103, allocations: 0 / 41.42 MB, free: 0.9219 MB / 18.86 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.1103, allocations: 0 / 41.42 MB, free: 0.9219 MB / 18.86 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/0.1261, allocations: 1.246 MB / 42.66 MB, free: 6.605 MB / 18.86 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.1261, allocations: 0.5 kB / 42.66 MB, free: 6.605 MB / 18.86 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/0.1265, allocations: 42.23 kB / 42.7 MB, free: 6.605 MB / 18.86 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00154/0.128, allocations: 320.3 kB / 43.02 MB, free: 6.598 MB / 18.86 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/0.1282, allocations: 15.05 kB / 43.03 MB, free: 6.598 MB / 18.86 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/0.1294, allocations: 0.8684 MB / 43.9 MB, free: 6.082 MB / 18.86 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.1294, allocations: 0.5 kB / 43.9 MB, free: 6.082 MB / 18.86 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002494/0.1319, allocations: 1.083 MB / 44.98 MB, free: 5.945 MB / 18.86 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.1321, allocations: 109.4 kB / 45.09 MB, free: 5.852 MB / 18.86 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.1322, allocations: 21.66 kB / 45.11 MB, free: 5.852 MB / 18.86 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004206/0.1327, allocations: 41.19 kB / 45.15 MB, free: 5.852 MB / 18.86 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003499/0.133, allocations: 119.2 kB / 45.27 MB, free: 5.852 MB / 18.86 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.672e-05/0.1332, allocations: 32.36 kB / 45.3 MB, free: 5.852 MB / 18.86 MB Notification: Performance of sorting global known variables: time 0.0001657/0.1333, allocations: 149.7 kB / 45.45 MB, free: 5.773 MB / 18.86 MB Notification: Performance of sort global known variables: time 1.903e-06/0.1333, allocations: 0 / 45.45 MB, free: 5.773 MB / 18.86 MB Notification: Performance of remove unused functions: time 0.0009185/0.1343, allocations: 219 kB / 45.66 MB, free: 5.773 MB / 18.86 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 ('P1'.t_,'P2'.t_,'P3'.t_) * Number of discrete variables: 14 ('P1'.fireOut[1],'P1'.emptying,'T1'.activation.emptied[1],'T1'.activation.active,'T1'.activation.weaklyInputActiveVec[1],'T1'.activation.weaklyOutputActiveVec[1],'P2'.fireIn[1],'P2'.fireOut[1],'T2'.activation.fed[1],'T2'.activation.active,'T2'.activation.weaklyInputActiveVec[1],'T2'.activation.weaklyOutputActiveVec[1],'P3'.fireIn[1],'P3'.feeding) * Number of discrete states: 10 ('P3'.fireIn[1],'P2'.fireOut[1],'P2'.fireIn[1],'P1'.fireOut[1],'T1'.activation.weaklyOutputActiveVec[1],'T1'.activation.weaklyInputActiveVec[1],'T1'.activation.active,'T2'.activation.weaklyOutputActiveVec[1],'T2'.activation.weaklyInputActiveVec[1],'T2'.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003109/0.1374, allocations: 1.785 MB / 47.44 MB, free: 4.875 MB / 18.86 MB Notification: Performance of simCode: created initialization part: time 0.001674/0.1391, allocations: 0.8792 MB / 48.32 MB, free: 4.07 MB / 18.86 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.1391, allocations: 0 / 48.32 MB, free: 4.07 MB / 18.86 MB Notification: Performance of simCode: created simulation system equations: time 0.0009118/0.1401, allocations: 0.5321 MB / 48.86 MB, free: 3.57 MB / 18.86 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.1405, allocations: 40.25 kB / 48.89 MB, free: 3.539 MB / 18.86 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003708/0.1442, allocations: 1.299 MB / 50.19 MB, free: 2.426 MB / 18.86 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005591/0.1448, allocations: 1.029 MB / 51.22 MB, free: 1.504 MB / 18.86 MB Notification: Performance of simCode: alias equations: time 0.0005712/0.1454, allocations: 91.22 kB / 51.31 MB, free: 1.453 MB / 18.86 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003188/0.1458, allocations: 210.5 kB / 51.52 MB, free: 1.273 MB / 18.86 MB Notification: Performance of SimCode: time 1.032e-06/0.1458, allocations: 3.906 kB / 51.52 MB, free: 1.273 MB / 18.86 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/0.2481, allocations: 11.84 MB / 63.37 MB, free: 4.293 MB / 18.86 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000235/0.2484, allocations: 103.4 kB / 63.47 MB, free: 4.191 MB / 18.86 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.047/3.296, allocations: 0 / 63.47 MB, free: 4.191 MB / 18.86 MB (rm -f ConPNlib_ConPNlib.Examples.Test11.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test11.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test11.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test11.fmu > ConPNlib_ConPNlib.Examples.Test11.pipe 2>&1)