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.008252/0.008252, allocations: 1.337 MB / 8.814 MB, free: 244 kB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 1.803e-05/1.816e-05, allocations: 1.5 kB / 13.23 MB, free: 2.207 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006701/0.0007116, allocations: 356.1 kB / 13.58 MB, free: 2.176 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.004582/0.005307, allocations: 3.353 MB / 16.94 MB, free: 1.785 MB / 10.45 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001578/0.005518, allocations: 48.95 kB / 16.98 MB, free: 1.738 MB / 10.45 MB Notification: Performance of FrontEnd - DAE generated: time 0.03362/0.03916, allocations: 6.859 MB / 23.84 MB, free: 236 kB / 10.45 MB Notification: Performance of FrontEnd: time 2.004e-06/0.03921, allocations: 0 / 23.84 MB, free: 236 kB / 10.45 MB Notification: Performance of Transformations before backend: time 2.75e-05/0.03925, allocations: 8 kB / 23.85 MB, free: 228 kB / 10.45 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.009965/0.04923, allocations: 0.6184 MB / 24.47 MB, free: 368 kB / 10.45 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.0493, allocations: 11.03 kB / 24.48 MB, free: 368 kB / 10.45 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.04948, allocations: 43.77 kB / 24.52 MB, free: 348 kB / 10.45 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006207/0.05011, allocations: 314.4 kB / 24.83 MB, free: 3.637 MB / 13.95 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.753e-05/0.05016, allocations: 15.56 kB / 24.84 MB, free: 3.637 MB / 13.95 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.22e-05/0.05027, allocations: 27.41 kB / 24.87 MB, free: 3.637 MB / 13.95 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009122/0.05119, allocations: 384.1 kB / 25.25 MB, free: 3.637 MB / 13.95 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.05237, allocations: 0.5431 MB / 25.79 MB, free: 3.555 MB / 13.95 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.05241, allocations: 3.844 kB / 25.79 MB, free: 3.555 MB / 13.95 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.812e-05/0.05247, allocations: 7.016 kB / 25.8 MB, free: 3.551 MB / 13.95 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.605e-05/0.05257, allocations: 32.91 kB / 25.83 MB, free: 3.551 MB / 13.95 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002155/0.05474, allocations: 1.051 MB / 26.88 MB, free: 3.152 MB / 13.95 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000503/0.05528, allocations: 284.2 kB / 27.16 MB, free: 3.031 MB / 13.95 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.05561, allocations: 156.1 kB / 27.31 MB, free: 3.008 MB / 13.95 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00075/0.05638, allocations: 0.5979 MB / 27.91 MB, free: 2.348 MB / 13.95 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.05643, allocations: 41.59 kB / 27.95 MB, free: 2.301 MB / 13.95 MB Notification: Performance of pre-optimization done (n=22): time 2.876e-06/0.05644, allocations: 0 / 27.95 MB, free: 2.301 MB / 13.95 MB Notification: Performance of matching and sorting (n=22): time 0.0008701/0.05732, allocations: 267.9 kB / 28.21 MB, free: 2.207 MB / 13.95 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.05745, allocations: 145.8 kB / 28.35 MB, free: 2.047 MB / 13.95 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.0577, allocations: 176.6 kB / 28.53 MB, free: 1.914 MB / 13.95 MB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/0.05776, allocations: 32.7 kB / 28.56 MB, free: 1.883 MB / 13.95 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.05797, allocations: 219.8 kB / 28.77 MB, free: 1.707 MB / 13.95 MB Notification: Performance of collectInitialBindings (initialization): time 9.992e-05/0.05808, allocations: 71.47 kB / 28.84 MB, free: 1.656 MB / 13.95 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/0.05812, allocations: 0 / 28.84 MB, free: 1.656 MB / 13.95 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.05828, allocations: 332.7 kB / 29.17 MB, free: 1.336 MB / 13.95 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.05859, allocations: 126.2 kB / 29.29 MB, free: 1.289 MB / 13.95 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004066/0.05901, allocations: 231.9 kB / 29.52 MB, free: 1.09 MB / 13.95 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004952/0.05952, allocations: 147.6 kB / 29.66 MB, free: 0.9844 MB / 13.95 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.05954, allocations: 0 / 29.66 MB, free: 0.9844 MB / 13.95 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001062/0.06061, allocations: 377.4 kB / 30.03 MB, free: 0.6641 MB / 13.95 MB Notification: Performance of prepare postOptimizeDAE: time 8.494e-05/0.06072, allocations: 49.11 kB / 30.08 MB, free: 0.6133 MB / 13.95 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.06074, allocations: 7.938 kB / 30.09 MB, free: 0.6055 MB / 13.95 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.06077, allocations: 4.406 kB / 30.09 MB, free: 0.6016 MB / 13.95 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/0.06112, allocations: 54.92 kB / 30.14 MB, free: 0.5547 MB / 13.95 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/0.06115, allocations: 12.92 kB / 30.16 MB, free: 0.5469 MB / 13.95 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002868/0.06145, allocations: 30.61 kB / 30.19 MB, free: 0.5195 MB / 13.95 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.145e-05/0.06153, allocations: 27.7 kB / 30.21 MB, free: 0.4961 MB / 13.95 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 () * 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.0002306/0.06177, allocations: 171.2 kB / 30.38 MB, free: 332 kB / 13.95 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008502/0.06263, allocations: 287.5 kB / 30.66 MB, free: 80 kB / 13.95 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.092e-05/0.06273, allocations: 19.81 kB / 30.68 MB, free: 60 kB / 13.95 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01074/0.07347, allocations: 368 kB / 31.04 MB, free: 3.148 MB / 13.95 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.746e-05/0.07356, allocations: 7.375 kB / 31.05 MB, free: 3.148 MB / 13.95 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.07358, allocations: 1.781 kB / 31.05 MB, free: 3.148 MB / 13.95 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.0736, allocations: 3.656 kB / 31.05 MB, free: 3.148 MB / 13.95 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.07496, allocations: 0.6728 MB / 31.73 MB, free: 2.883 MB / 13.95 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.07498, allocations: 3.688 kB / 31.73 MB, free: 2.883 MB / 13.95 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.07527, allocations: 34.25 kB / 31.76 MB, free: 2.883 MB / 13.95 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.07529, allocations: 0.7812 kB / 31.76 MB, free: 2.883 MB / 13.95 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.07534, allocations: 10.88 kB / 31.77 MB, free: 2.883 MB / 13.95 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.07535, allocations: 2.281 kB / 31.78 MB, free: 2.883 MB / 13.95 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.07536, allocations: 0 / 31.78 MB, free: 2.883 MB / 13.95 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.07654, allocations: 0.5568 MB / 32.33 MB, free: 2.75 MB / 13.95 MB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.07661, allocations: 94.75 kB / 32.43 MB, free: 2.656 MB / 13.95 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.649e-05/0.07669, allocations: 9.375 kB / 32.44 MB, free: 2.656 MB / 13.95 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.07695, allocations: 25.88 kB / 32.46 MB, free: 2.656 MB / 13.95 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/0.07717, allocations: 56.8 kB / 32.52 MB, free: 2.656 MB / 13.95 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.185e-05/0.07723, allocations: 19.22 kB / 32.53 MB, free: 2.656 MB / 13.95 MB Notification: Performance of sorting global known variables: time 0.0001073/0.07735, allocations: 122.5 kB / 32.65 MB, free: 2.578 MB / 13.95 MB Notification: Performance of sort global known variables: time 3.9e-07/0.07736, allocations: 0 / 32.65 MB, free: 2.578 MB / 13.95 MB Notification: Performance of remove unused functions: time 0.0007297/0.0781, allocations: 150.7 kB / 32.8 MB, free: 2.578 MB / 13.95 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) * 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.001723/0.07983, allocations: 1.186 MB / 33.99 MB, free: 1.914 MB / 13.95 MB Notification: Performance of simCode: created initialization part: time 0.0008138/0.08068, allocations: 433 kB / 34.41 MB, free: 1.852 MB / 13.95 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.0807, allocations: 0 / 34.41 MB, free: 1.852 MB / 13.95 MB Notification: Performance of simCode: created simulation system equations: time 0.0003786/0.08109, allocations: 244.4 kB / 34.65 MB, free: 1.785 MB / 13.95 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.08145, allocations: 24.3 kB / 34.67 MB, free: 1.785 MB / 13.95 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.08324, allocations: 0.7003 MB / 35.37 MB, free: 1.426 MB / 13.95 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.08367, allocations: 0.8609 MB / 36.23 MB, free: 0.6094 MB / 13.95 MB Notification: Performance of simCode: alias equations: time 0.000331/0.08401, allocations: 80.62 kB / 36.31 MB, free: 0.5664 MB / 13.95 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.08426, allocations: 114.2 kB / 36.42 MB, free: 480 kB / 13.95 MB Notification: Performance of SimCode: time 1.002e-06/0.08427, allocations: 2.094 kB / 36.43 MB, free: 480 kB / 13.95 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07197/0.1562, allocations: 6.214 MB / 42.64 MB, free: 3.863 MB / 18.6 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002607/0.1566, allocations: 98.61 kB / 42.74 MB, free: 3.766 MB / 18.6 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.628/2.784, allocations: 1.859 kB / 42.74 MB, free: 3.766 MB / 18.6 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)