Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test12.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.Test12,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test12,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01654/0.01655, allocations: 1.357 MB / 16.31 MB, free: 5.352 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.623e-05/1.632e-05, allocations: 0 / 23.31 MB, free: 3.992 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000701/0.0007492, allocations: 359.6 kB / 23.67 MB, free: 3.828 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test12): time 0.00203/0.002794, allocations: 1.692 MB / 25.36 MB, free: 2.277 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.004858, allocations: 0.9329 MB / 26.29 MB, free: 1.344 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005383/0.005431, allocations: 11.88 kB / 26.3 MB, free: 1.332 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0005758/0.006039, allocations: 151.1 kB / 26.45 MB, free: 1.184 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.001994/0.008055, allocations: 352.4 kB / 26.79 MB, free: 0.8398 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006177/0.008715, allocations: 83.88 kB / 26.88 MB, free: 0.7578 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.001406/0.01015, allocations: 484.2 kB / 27.35 MB, free: 292 kB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008276/0.011, allocations: 320.8 kB / 27.66 MB, free: 4.605 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007226/0.01175, allocations: 262.5 kB / 27.92 MB, free: 4.348 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006903/0.01247, allocations: 290.2 kB / 28.2 MB, free: 4.062 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.01265, allocations: 28 kB / 28.23 MB, free: 4.035 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000891/0.01356, allocations: 191.6 kB / 28.42 MB, free: 3.848 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0003605/0.01395, allocations: 163.4 kB / 28.58 MB, free: 3.688 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.000241/0.01422, allocations: 141.3 kB / 28.71 MB, free: 3.543 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.01612, allocations: 0.7097 MB / 29.42 MB, free: 2.832 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.01617, allocations: 4 kB / 29.43 MB, free: 2.828 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.494e-06/0.01619, allocations: 0 / 29.43 MB, free: 2.828 MB / 18.57 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.01622, allocations: 0 / 29.43 MB, free: 2.828 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.002402/0.01863, allocations: 0.9605 MB / 30.39 MB, free: 1.797 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/0.01871, allocations: 8.297 kB / 30.4 MB, free: 1.789 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004475/0.01918, allocations: 172.8 kB / 30.56 MB, free: 1.609 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003831/0.01958, allocations: 101 kB / 30.66 MB, free: 1.512 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.02112, allocations: 491.8 kB / 31.14 MB, free: 0.9922 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/0.02133, allocations: 78.41 kB / 31.22 MB, free: 0.9141 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003743/0.02173, allocations: 116.3 kB / 31.33 MB, free: 0.8008 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02233/0.04408, allocations: 1.466 MB / 32.8 MB, free: 7.188 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.055e-05/0.04417, allocations: 3.938 kB / 32.8 MB, free: 7.188 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.04431, allocations: 47.41 kB / 32.85 MB, free: 7.188 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002189/0.04454, allocations: 100.8 kB / 32.95 MB, free: 7.188 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00252/0.04707, allocations: 1.064 MB / 34.01 MB, free: 6.73 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005016/0.05211, allocations: 2.897 MB / 36.91 MB, free: 3.984 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.05363, allocations: 0.7532 MB / 37.66 MB, free: 3.184 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007018/0.05435, allocations: 0.8643 MB / 38.53 MB, free: 2.141 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.0544, allocations: 38.94 kB / 38.56 MB, free: 2.094 MB / 18.57 MB Notification: Performance of pre-optimization done (n=52): time 3.597e-06/0.05441, allocations: 0 / 38.56 MB, free: 2.094 MB / 18.57 MB Notification: Performance of matching and sorting (n=52): time 0.005117/0.05953, allocations: 1.912 MB / 40.48 MB, free: 96 kB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01253/0.07209, allocations: 241.9 kB / 40.71 MB, free: 6.559 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005725/0.07272, allocations: 354 kB / 41.06 MB, free: 6.453 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.07286, allocations: 42.98 kB / 41.1 MB, free: 6.422 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003043/0.07318, allocations: 401.9 kB / 41.49 MB, free: 6.23 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/0.07338, allocations: 163.4 kB / 41.65 MB, free: 6.137 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-05/0.07346, allocations: 22.62 kB / 41.67 MB, free: 6.137 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.07355, allocations: 347.3 kB / 42.01 MB, free: 5.824 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009683/0.07453, allocations: 378.2 kB / 42.38 MB, free: 5.777 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.07563, allocations: 0.527 MB / 42.91 MB, free: 5.484 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009662/0.07662, allocations: 475.2 kB / 43.37 MB, free: 5.254 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.07665, allocations: 3.438 kB / 43.38 MB, free: 5.254 MB / 18.57 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00296/0.07962, allocations: 1.297 MB / 44.67 MB, free: 4.41 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.07977, allocations: 121.1 kB / 44.79 MB, free: 4.273 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.0798, allocations: 4 kB / 44.8 MB, free: 4.27 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002963/0.08277, allocations: 416.8 kB / 45.2 MB, free: 3.859 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004693/0.08327, allocations: 87.61 kB / 45.29 MB, free: 3.777 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.08446, allocations: 0.8877 MB / 46.18 MB, free: 2.871 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000605/0.08509, allocations: 103.4 kB / 46.28 MB, free: 2.77 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.08521, allocations: 43.98 kB / 46.32 MB, free: 2.727 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.P2.fireIn[1],P2.feeding,$PRE.P3.fireIn[1],P3.feeding,P1.outTransition[2].arcType,P1.outTransition[1].arcType,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],$PRE.P1.fireIn[1],P1.fireIn[1],$PRE.P1.fireOut[1],P1.fireOut[1],$PRE.P1.fireOut[2],P1.fireOut[2],P2.fireIn[1],P3.fireIn[1],T2.activation.arcType[1],T3.activation.arcType[1],T3.activation.emptied[1],T2.activation.emptied[1],T3.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0007416/0.08596, allocations: 471.4 kB / 46.78 MB, free: 2.242 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.08609, allocations: 51.48 kB / 46.83 MB, free: 2.191 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002806/0.08891, allocations: 1.25 MB / 48.08 MB, free: 0.9258 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.657e-05/0.08897, allocations: 15.98 kB / 48.1 MB, free: 0.9102 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.08899, allocations: 6.5 kB / 48.1 MB, free: 0.9062 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.08901, allocations: 7.984 kB / 48.11 MB, free: 0.8984 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01668/0.1057, allocations: 1.993 MB / 50.1 MB, free: 5.293 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.1057, allocations: 0 / 50.1 MB, free: 5.293 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003437/0.1061, allocations: 50.56 kB / 50.15 MB, free: 5.293 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001785/0.1079, allocations: 394.2 kB / 50.54 MB, free: 5.254 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.268e-05/0.108, allocations: 25.55 kB / 50.56 MB, free: 5.246 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.1092, allocations: 0.9289 MB / 51.49 MB, free: 4.625 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1092, allocations: 0 / 51.49 MB, free: 4.625 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003666/0.1129, allocations: 1.722 MB / 53.21 MB, free: 3.137 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.1131, allocations: 125.8 kB / 53.34 MB, free: 3.023 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.1133, allocations: 31.98 kB / 53.37 MB, free: 2.992 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004423/0.1137, allocations: 51.42 kB / 53.42 MB, free: 2.949 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003866/0.1141, allocations: 140.3 kB / 53.55 MB, free: 2.809 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.893e-05/0.1142, allocations: 39.81 kB / 53.59 MB, free: 2.773 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0002699/0.1145, allocations: 217.9 kB / 53.81 MB, free: 2.555 MB / 18.57 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1145, allocations: 0 / 53.81 MB, free: 2.555 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0009064/0.1154, allocations: 265.3 kB / 54.07 MB, free: 2.332 MB / 18.57 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: 18 (T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],P1.fireIn[1],P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],P2.feeding,P3.fireIn[1],P3.feeding) * Number of discrete states: 13 (P1.fireIn[1],T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P1.fireOut[1],P1.fireOut[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,P2.fireIn[1],P3.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.01689/0.1323, allocations: 2.397 MB / 56.46 MB, free: 5.078 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.002526/0.1349, allocations: 1.191 MB / 57.65 MB, free: 4.805 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.1349, allocations: 2.188 kB / 57.66 MB, free: 4.805 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.1362, allocations: 0.7019 MB / 58.36 MB, free: 4.434 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.1366, allocations: 53 kB / 58.41 MB, free: 4.41 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009527/0.1462, allocations: 6.969 MB / 65.38 MB, free: 4.27 MB / 24.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009772/0.1472, allocations: 1.113 MB / 66.49 MB, free: 3.133 MB / 24.8 MB Notification: Performance of simCode: alias equations: time 0.0005448/0.1478, allocations: 147.6 kB / 66.64 MB, free: 2.988 MB / 24.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004746/0.1483, allocations: 267.3 kB / 66.9 MB, free: 2.727 MB / 24.8 MB Notification: Performance of SimCode: time 1.012e-06/0.1483, allocations: 0 / 66.9 MB, free: 2.727 MB / 24.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07278/0.2211, allocations: 15.07 MB / 81.96 MB, free: 8.914 MB / 24.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002749/0.2214, allocations: 174.6 kB / 82.13 MB, free: 8.676 MB / 24.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.862/3.084, allocations: 0 / 82.13 MB, free: 8.676 MB / 24.8 MB (rm -f ConPNlib_ConPNlib.Examples.Test12.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test12.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test12.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test12_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test12.fmu > ConPNlib_ConPNlib.Examples.Test12.pipe 2>&1)