Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test10.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.Test10,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test10,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01318/0.01318, allocations: 1.331 MB / 13.89 MB, free: 1.414 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.875e-05/1.894e-05, allocations: 0 / 19.33 MB, free: 2.012 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008309/0.0008951, allocations: 366.2 kB / 19.68 MB, free: 1.672 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.02109/0.02202, allocations: 4.061 MB / 23.74 MB, free: 2.75 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001847/0.02227, allocations: 52.17 kB / 23.8 MB, free: 2.73 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.088/0.1103, allocations: 13.63 MB / 37.42 MB, free: 1.922 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1103, allocations: 0 / 37.42 MB, free: 1.922 MB / 18.57 MB Notification: Performance of Transformations before backend: time 4.77e-05/0.1104, allocations: 27.2 kB / 37.45 MB, free: 1.914 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.001842/0.1123, allocations: 1.027 MB / 38.48 MB, free: 1.246 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.1123, allocations: 12.97 kB / 38.49 MB, free: 1.246 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003185/0.1126, allocations: 183 kB / 38.67 MB, free: 1.203 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002439/0.1129, allocations: 106.8 kB / 38.77 MB, free: 1.152 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.114, allocations: 0.522 MB / 39.3 MB, free: 0.6836 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.018e-05/0.1142, allocations: 96.78 kB / 39.39 MB, free: 0.5938 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000221/0.1144, allocations: 115.6 kB / 39.5 MB, free: 500 kB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01889/0.1333, allocations: 1.51 MB / 41.01 MB, free: 1.125 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.823e-05/0.1334, allocations: 1.594 kB / 41.01 MB, free: 1.125 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/0.1335, allocations: 52.41 kB / 41.07 MB, free: 1.125 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001739/0.1337, allocations: 77.41 kB / 41.14 MB, free: 1.121 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00248/0.1362, allocations: 0.994 MB / 42.14 MB, free: 1.105 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005809/0.1421, allocations: 2.754 MB / 44.89 MB, free: 6.43 MB / 24.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.1432, allocations: 0.5523 MB / 45.44 MB, free: 6.145 MB / 24.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007381/0.144, allocations: 391.8 kB / 45.82 MB, free: 5.988 MB / 24.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007471/0.1447, allocations: 0.6024 MB / 46.43 MB, free: 5.328 MB / 24.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.1448, allocations: 39.59 kB / 46.46 MB, free: 5.285 MB / 24.8 MB Notification: Performance of pre-optimization done (n=50): time 4.088e-06/0.1448, allocations: 3.047 kB / 46.47 MB, free: 5.285 MB / 24.8 MB Notification: Performance of matching and sorting (n=50): time 0.001594/0.1464, allocations: 0.6565 MB / 47.12 MB, free: 5.012 MB / 24.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000193/0.1466, allocations: 265.5 kB / 47.38 MB, free: 4.719 MB / 24.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006564/0.1473, allocations: 384.3 kB / 47.76 MB, free: 4.469 MB / 24.8 MB Notification: Performance of collectPreVariables (initialization): time 9.604e-05/0.1474, allocations: 47.53 kB / 47.81 MB, free: 4.426 MB / 24.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004577/0.1479, allocations: 459.6 kB / 48.25 MB, free: 4.031 MB / 24.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/0.1481, allocations: 164.8 kB / 48.42 MB, free: 3.891 MB / 24.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/0.1482, allocations: 19.2 kB / 48.43 MB, free: 3.875 MB / 24.8 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.1484, allocations: 355.8 kB / 48.78 MB, free: 3.531 MB / 24.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008201/0.1492, allocations: 322.4 kB / 49.1 MB, free: 3.25 MB / 24.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.1503, allocations: 0.5776 MB / 49.67 MB, free: 2.602 MB / 24.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009493/0.1513, allocations: 421 kB / 50.08 MB, free: 2.242 MB / 24.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-06/0.1513, allocations: 3.938 kB / 50.09 MB, free: 2.238 MB / 24.8 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002372/0.1537, allocations: 0.9829 MB / 51.07 MB, free: 1.344 MB / 24.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.1539, allocations: 89.11 kB / 51.16 MB, free: 1.254 MB / 24.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.1539, allocations: 8.875 kB / 51.17 MB, free: 1.246 MB / 24.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.361e-05/0.1539, allocations: 12 kB / 51.18 MB, free: 1.234 MB / 24.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007475/0.1547, allocations: 121.5 kB / 51.3 MB, free: 1.133 MB / 24.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.832e-05/0.1547, allocations: 16.28 kB / 51.31 MB, free: 1.117 MB / 24.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006938/0.1554, allocations: 107.9 kB / 51.42 MB, free: 1.023 MB / 24.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/0.1556, allocations: 52.55 kB / 51.47 MB, free: 0.9766 MB / 24.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 39 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireOut[1],$PRE.P2.fireOut[2],P2.emptying,$PRE.P3.fireIn[1],P3.feeding,$PRE.P4.fireIn[1],P4.feeding,P1.feeding,P1.outTransition[1].arcType,P3.emptying,P4.emptying,P2.feeding,P2.outTransition[1].arcType,IA1.outTransition.arcType,P1.fireOut[1],P2.fireOut[1],P2.fireOut[2],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P4.fireIn[1],T1.activation.arcType[2],T2.activation.arcType[1],T2.activation.fed[1],T1.activation.fed[2],T2.activation.emptied[1],T1.activation.emptied[1],T1.activation.arcType[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].enabledByInPlaces,P2.outTransition[2].arcType) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 85 * Array equations: 4 * Algorithm blocks: 2 * 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.0004113/0.156, allocations: 271.2 kB / 51.74 MB, free: 0.7109 MB / 24.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.1562, allocations: 58.3 kB / 51.79 MB, free: 0.6562 MB / 24.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/0.1587, allocations: 0.8232 MB / 52.62 MB, free: 0 / 24.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001077/0.1589, allocations: 11.62 kB / 52.63 MB, free: 0 / 24.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.1589, allocations: 0.6562 kB / 52.63 MB, free: 0 / 24.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.1589, allocations: 2.484 kB / 52.63 MB, free: 0 / 24.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01898/0.1779, allocations: 1.567 MB / 54.2 MB, free: 6.207 MB / 24.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.178, allocations: 0 / 54.2 MB, free: 6.207 MB / 24.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00054/0.1785, allocations: 81.08 kB / 54.28 MB, free: 6.207 MB / 24.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.1785, allocations: 2.391 kB / 54.28 MB, free: 6.207 MB / 24.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.821e-05/0.1786, allocations: 25.91 kB / 54.3 MB, free: 6.207 MB / 24.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.1787, allocations: 3.562 kB / 54.31 MB, free: 6.207 MB / 24.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1787, allocations: 0 / 54.31 MB, free: 6.207 MB / 24.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/0.181, allocations: 1.204 MB / 55.51 MB, free: 5.996 MB / 24.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.1811, allocations: 119.9 kB / 55.63 MB, free: 5.902 MB / 24.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/0.1813, allocations: 31.77 kB / 55.66 MB, free: 5.902 MB / 24.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004977/0.1818, allocations: 52.56 kB / 55.71 MB, free: 5.902 MB / 24.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003509/0.1822, allocations: 134.3 kB / 55.84 MB, free: 5.902 MB / 24.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.1823, allocations: 36.41 kB / 55.88 MB, free: 5.902 MB / 24.8 MB Notification: Performance of sorting global known variables: time 0.0003645/0.1827, allocations: 249.4 kB / 56.12 MB, free: 5.82 MB / 24.8 MB Notification: Performance of sort global known variables: time 5.51e-07/0.1827, allocations: 1.688 kB / 56.12 MB, free: 5.82 MB / 24.8 MB Notification: Performance of remove unused functions: time 0.0009945/0.1837, allocations: 276.5 kB / 56.39 MB, free: 5.82 MB / 24.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P1.t_,P2.t_,P3.t_,P4.t_) * Number of discrete variables: 16 (P1.fireOut[1],P1.emptying,P2.fireOut[1],P2.fireOut[2],P2.emptying,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding,P4.fireIn[1],P4.feeding) * Number of discrete states: 12 (P4.fireIn[1],P3.fireIn[1],P2.fireOut[1],P2.fireOut[2],P1.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[2],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 (49): * Single equations (assignments): 43 * Array equations: 4 * Algorithm blocks: 2 * 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.002895/0.1866, allocations: 1.903 MB / 58.29 MB, free: 5.09 MB / 24.8 MB Notification: Performance of simCode: created initialization part: time 0.001917/0.1886, allocations: 1.051 MB / 59.35 MB, free: 4.426 MB / 24.8 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.1886, allocations: 4 kB / 59.35 MB, free: 4.422 MB / 24.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0008573/0.1894, allocations: 0.5691 MB / 59.92 MB, free: 3.871 MB / 24.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.1899, allocations: 56.38 kB / 59.97 MB, free: 3.824 MB / 24.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003815/0.1938, allocations: 1.714 MB / 61.69 MB, free: 2.355 MB / 24.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006487/0.1945, allocations: 1.13 MB / 62.82 MB, free: 1.367 MB / 24.8 MB Notification: Performance of simCode: alias equations: time 0.0007599/0.1952, allocations: 193.9 kB / 63.01 MB, free: 1.258 MB / 24.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005404/0.1958, allocations: 320 kB / 63.32 MB, free: 0.9844 MB / 24.8 MB Notification: Performance of SimCode: time 1.233e-06/0.1958, allocations: 0 / 63.32 MB, free: 0.9844 MB / 24.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06009/0.2559, allocations: 13.4 MB / 76.72 MB, free: 5.559 MB / 33.07 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002963/0.2563, allocations: 129.4 kB / 76.84 MB, free: 5.348 MB / 33.07 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.859/3.115, allocations: 2.812 kB / 76.85 MB, free: 5.348 MB / 33.07 MB (rm -f ConPNlib_ConPNlib.Examples.Test10.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test10.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test10.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test10_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test10.fmu > ConPNlib_ConPNlib.Examples.Test10.pipe 2>&1)